-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (59 loc) · 1.21 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
version: "3.0"
services:
federal-db:
image: mariadb:10.2
restart: unless-stopped
volumes:
- "federal-data:/var/lib/mysql"
env_file:
- ./${ENVIRONMENT}/federaldb.env
federal-phpmyadmin:
image: phpmyadmin/phpmyadmin:4.7
restart: unless-stopped
environment:
- PMA_HOST=federal-db
ports:
- "8080:80"
app-db:
image: mariadb:10.2
restart: unless-stopped
volumes:
- "app-data:/var/lib/mysql"
env_file:
- ./${ENVIRONMENT}/appdb.env
app-phpmyadmin:
image: phpmyadmin/phpmyadmin:4.7
restart: unless-stopped
environment:
- PMA_HOST=app-db
ports:
- "8081:80"
server:
image: grandlyon/glsdk-server:latest
restart: unless-stopped
volumes:
- server-storage:/storage
depends_on:
- app-db
- federal-db
networks:
default:
aliases:
- api
env_file:
- ./${ENVIRONMENT}/server.env
webapp:
image: grandlyon/glsdk-webapp:latest
proxy:
image: grandlyon/glsdk-proxy:latest
restart: unless-stopped
depends_on:
- webapp
- server
ports:
- "80:80"
- "443:443"
volumes:
app-data:
federal-data:
server-storage: