-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
35 lines (34 loc) · 1.21 KB
/
docker-compose.yaml
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
version: "3.7"
services:
backend:
build:
context: .
dockerfile: ./backend/Dockerfile
environment:
DB_ENDPOINT: "${DB_ENDPOINT}"
DB_NAME: "${DB_NAME}"
DB_USERNAME: "${DB_USERNAME}"
DB_PASSWORD: "${DB_PASSWORD}"
LOG_LEVEL: "${LOG_LEVEL}"
DB_AUTH_ON: "${DB_AUTH_ON}"
FEATURES_BATCH_SIZE: "${FEATURES_BATCH_SIZE}"
FEATURES_BATCH_DELAY: "${FEATURES_BATCH_DELAY}"
FEATURES_UNIT_DELAY: "${FEATURES_UNIT_DELAY}"
FEATURES_CURRENT_PLAYERS_UPDATE_INTERVAL_DELAY: "${FEATURES_CURRENT_PLAYERS_UPDATE_INTERVAL_DELAY}"
FEATURES_RELEASE_DATE_UPDATE_INTERVAL_DELAY: "${FEATURES_RELEASE_DATE_UPDATE_INTERVAL_DELAY}"
FEATURES_UPDATE_INTERVAL_DELAY: "${FEATURES_UPDATE_INTERVAL_DELAY}"
FEATURE_TOGGLE_USE_COLLECT_STEAM_APPS_DIFF_ON_DB_LAYER: "${FEATURE_TOGGLE_USE_COLLECT_STEAM_APPS_DIFF_ON_DB_LAYER}"
RUNNER_GLOBAL_ITERATION_DELAY: "${RUNNER_GLOBAL_ITERATION_DELAY}"
ports:
- 3000:3000
links:
- mongodb
mongodb:
image: mongo:4.4.24
container_name: mongodb
restart: on-failure
ports:
- 27017:27017
volumes:
- ./db/data:/data
- ./db/init-mongodb.sh:/docker-entrypoint-initdb.d/init-mongodb.sh:ro