forked from grandlyon/glsdk-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (41 loc) · 936 Bytes
/
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
version: "3.0"
services:
db:
image: mariadb:10.2
restart: unless-stopped
volumes:
- "db-data:/var/lib/mysql"
environment:
- MYSQL_DATABASE=grandlyon
- MYSQL_USER=db_user
- MYSQL_PASSWORD=P@ssw0rd
- MYSQL_RANDOM_ROOT_PASSWORD=yes
phpmyadmin:
image: phpmyadmin/phpmyadmin:4.7
restart: unless-stopped
environment:
- PMA_HOST=db
ports:
- "8080:80"
server:
image: grandlyon/glsdk-server
restart: unless-stopped
volumes:
- server-storage:/storage
depends_on:
- db
ports:
- "3000:3000"
environment:
- FEDERAL_DB_HOST=db
- FEDERAL_DB_NAME=grandlyon
- FEDERAL_DB_USER=db_user
- FEDERAL_DB_PASSWORD=P@ssw0rd
- APP_DB_HOST=db
- APP_DB_NAME=grandlyon
- APP_DB_USER=db_user
- APP_DB_PASSWORD=P@ssw0rd
- FILE_STORAGE_PATH=/storage
volumes:
db-data:
server-storage: