-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml.develop
More file actions
42 lines (38 loc) · 1.03 KB
/
docker-compose.yml.develop
File metadata and controls
42 lines (38 loc) · 1.03 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
version: '3'
# networks
# services
services:
# editor
falatu-editor:
container_name: falatu-editor
image: webdevops/php-nginx-dev:7.3
working_dir: /var/www/app
volumes:
- ./editor:/var/www/app
environment:
- WEB_DOCUMENT_ROOT=/var/www/app/public
- WEB_DOCUMENT_INDEX=index.html
- WEB_ALIAS_DOMAIN=editor
- PHP_MAX_EXECUTION_TIME=86400
ports:
- 8001:80
# home
falatu-home:
container_name: falatu-home
image: webdevops/php-nginx-dev:7.3
working_dir: /var/www/app
volumes:
- ./home:/var/www/app
environment:
- WEB_DOCUMENT_ROOT=/var/www/app/public
- WEB_DOCUMENT_INDEX=index.html
- WEB_ALIAS_DOMAIN=home
- PHP_MAX_EXECUTION_TIME=86400
# - PHP_DEBUGGER="xdebug"
# export XDEBUG_REMOTE_HOST=$(ifconfig wlan0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')
# - XDEBUG_REMOTE_HOST=${XDEBUG_REMOTE_HOST}
# - XDEBUG_REMOTE_AUTOSTART=1
# expose:
# - 9000
ports:
- 8002:80