-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
34 lines (32 loc) · 910 Bytes
/
docker-compose-dev.yml
File metadata and controls
34 lines (32 loc) · 910 Bytes
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
version: "3.7"
services:
get5-web:
image: counterstrafe/get5-web:0.1.1
restart: always
ports:
- "80:80"
environment:
SQLALCHEMY_DATABASE_URI: '${SQLALCHEMY_DATABASE_URI}'
STEAM_API_KEY: '${STEAM_API_KEY}'
SECRET_KEY: '${SECRET_KEY}'
MAPLIST: '${MAPLIST}'
DEFAULT_MAPLIST: '${DEFAULT_MAPLIST}'
ADMIN_IDS: '${ADMIN_IDS}'
GET5_URL_OVERRIDE: '${GET5_URL_OVERRIDE}'
mysql:
image: mysql:5.7
restart: always
volumes:
- /opt/docker/get5-web/mysql:/var/lib/mysql
- ./ethot-db/ethot.sql:/docker-entrypoint-initdb.d/ethot.sql
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_DATABASE=get5-web
- MYSQL_USER=get5-web
- MYSQL_PASSWORD=${MYSQL_PASS}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASS}
- MYSQL_ROOT_HOST=%
command: mysqld --sql_mode="NO_ENGINE_SUBSTITUTION"