-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.stage
52 lines (48 loc) · 1.19 KB
/
docker-compose.yml.stage
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
49
50
51
52
version: '3'
# networks
networks:
reverse-proxy:
external:
name: reverse-proxy
internal:
driver: bridge
# services
services:
# editor
falatu-editor:
image: webdevops/php-nginx-dev:7.3
container_name: falatu-editor
restart: always
networks:
- reverse-proxy
- internal
working_dir: /var/www/app
volumes:
- ./editor:/var/www/app
environment:
- VIRTUAL_HOST=editor.falatu.dev
- LETSENCRYPT_HOST=editor.falatu.dev
- LETSENCRYPT_EMAIL=wilcorrea@gmail.com
- WEB_DOCUMENT_ROOT=/var/www/app/public
- WEB_DOCUMENT_INDEX=index.html
- WEB_ALIAS_DOMAIN=editor
- APPLICATION_PATH=/var/www/app
# home
falatu-home:
image: webdevops/php-nginx-dev:7.3
container_name: falatu-home
restart: always
networks:
- reverse-proxy
- internal
working_dir: /var/www/app
volumes:
- ./home:/var/www/app
environment:
- VIRTUAL_HOST=falatu.dev
- LETSENCRYPT_HOST=falatu.dev
- LETSENCRYPT_EMAIL=wilcorrea@gmail.com
- WEB_DOCUMENT_ROOT=/var/www/app/public
- WEB_DOCUMENT_INDEX=index.html
- WEB_ALIAS_DOMAIN=home
- APPLICATION_PATH=/var/www/app