-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
75 lines (65 loc) · 1.75 KB
/
docker-compose.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: "3.8"
services:
proxy:
image: nginx:latest
container_name: revisionary_proxy
restart: "always"
env_file:
- .env
ports:
- 80:80
- 443:443
volumes:
- ./proxy/templates/:/etc/nginx/templates/
- ./proxy/common:/etc/nginx/common
- ./proxy/certificates/:/etc/nginx/certificates/
- ./proxy/logs:/var/log/nginx
networks:
- proxy-network
- backend-network
backend:
extends:
file: ./backend/docker-compose.yml
service: backend
env_file:
- .env
memcached:
extends:
file: ./backend/docker-compose.yml
service: memcached
database:
extends:
file: ./backend/docker-compose.yml
service: database
chrome:
extends:
file: ./chrome/docker-compose.yml
service: chrome
dashboard:
extends:
file: ./dashboard/docker-compose.yml
service: dashboard
environment:
API_ENDPOINT: https://${API_SUBDOMAIN}.${API_DOMAIN}/v1/
landing:
extends:
file: ./landing/docker-compose.yml
service: landing
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
container_name: revisionary_phpmyadmin
restart: "unless-stopped"
ports:
- 8000:80
environment:
PMA_HOSTS: ${DB_HOST}, ${DB_CLOUD_HOST}
PMA_PORTS: ${DB_PORT}, ${DB_CLOUD_PORT}
PMA_VERBOSES: Docker, Cloud
networks:
- backend-network
networks:
proxy-network: {}
backend-network: {}
volumes:
mysql: {}
cache: {}