-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcompose.yaml
35 lines (33 loc) · 914 Bytes
/
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
services:
database:
image: mariadb:11.0
environment:
MARIADB_USER: schnose
MARIADB_PASSWORD: csgo-kz-is-dead-boys
MARIADB_DATABASE: cs2kz
MARIADB_ROOT_PASSWORD: csgo-kz-is-dead-boys
ports:
- ${DATABASE_PORT-3306}:3306
volumes:
- cs2kz-database:/var/lib/mysql
api:
depends_on: [database]
env_file:
- .env
- .docker.env
image: cs2kz-api
build:
context: .
dockerfile: ./Dockerfile
args:
DEPOT_DOWNLOADER_URL: https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.5.0/DepotDownloader-linux-x64.zip
ports:
- ${KZ_API_PORT:-42069}:${KZ_API_PORT:-42069}
volumes:
- ./cs2kz-api.toml:/etc/cs2kz-api.toml
- cs2kz-logs:/var/log/cs2kz-api
- cs2kz-workshop-assets:/var/lib/cs2kz-api/workshop
volumes:
cs2kz-database:
cs2kz-logs:
cs2kz-workshop-assets: