forked from estadao-digital/test-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (47 loc) · 1.14 KB
/
docker-compose.yaml
File metadata and controls
48 lines (47 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: "3.7"
services:
app:
build:
args:
user: estadao
uid: 1000
context: ./
dockerfile: docker/Dockerfile
image: estadao-test-dev
healthcheck:
interval: 10s
timeout: 3s
retries: 3
start_period: 30s
container_name: estadao-test-dev-app
restart: unless-stopped
working_dir: /var/www/
volumes:
- ./:/var/www
environment:
APPLICATION_ENV: development
XDEBUG_INSTALL: 1
XDEBUG_CONFIG: "remote_host=host.docker.internal"
XDEBUG_REMOTE_ENABLE: "on"
XDEBUG_REMOTE_AUTOSTART: 1
XDEBUG_REMOTE_CONNECT_BACK: 0
XDEBUG_REMOTE_HANDLER: dbgp
XDEBUG_PROFILER_ENABLE: 1
XDEBUG_PROFILER_OUTPUT_DIR: /var/www/html/xdebug.log
XDEBUG_REMOTE_PORT: 9003
XDEBUGINI_PATH: /usr/local/etc/php/conf.d/xdebug.ini
XDEBUG_DEFAULT_ENABLE: 1
XDEBUG_IDEKEY: PHPSTORM
nginx:
image: nginx:alpine
container_name: estadao-test-dev-nginx
restart: unless-stopped
expose:
- 9003
ports:
- 8080:80
volumes:
- ./:/var/www
- ./docker/nginx:/etc/nginx/conf.d/
depends_on:
- app