-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (49 loc) · 1.07 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
version: "3.9"
services:
backend:
image: ghcr.io/volotea-virtual/trainingcenter-backend:latest
depends_on:
mysql:
condition: service_started
environment:
- APP_DEBUG
- APP_LOG_SQL
- APP_PORT=80
- APP_HOST
- APP_KEY
- APP_VERSION
- SESSION_COOKIE_NAME
- FILE_STORAGE_LOCATION
- FILE_TMP_LOCATION
- VATSIM_API_BASE
- CONNECT_BASE
- CONNECT_REDIRECT_URI
- CONNECT_SCOPE
- CONNECT_CLIENT_ID
- CONNECT_SECRET
- DB_DIALECT
- DB_HOST
- DB_PORT
- DB_DATABASE_NAME
- DB_USERNAME
- DB_PASSWORD
ports:
- "5001:80"
frontend:
image: ghcr.io/volotea-virtual/trainingcenter-frontend:latest
ports:
- "5002:80"
mysql:
image: mariadb:lts
restart: always
ports:
- "5000:3306"
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_USER: trainingcenter
MYSQL_PASSWORD: example
MYSQL_DATABASE: trainingcenter
volumes:
- trainingcenter-sql:/var/lib/mysql
volumes:
trainingcenter-sql: