-
Notifications
You must be signed in to change notification settings - Fork 3
/
compose.yml
31 lines (30 loc) · 916 Bytes
/
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
services:
cs2kz-database:
image: mariadb:11.0
command: --max-connections 256
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
volumes:
- ./database/volumes/cs2kz:/var/lib/mysql
cs2kz-api:
depends_on: [cs2kz-database]
env_file:
- .env
- .env.docker
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:
- ./.config/config.docker.toml:/etc/cs2kz-api.toml
- ./docker/logs:/var/log/cs2kz-api
- ./docker/workshop:/var/lib/cs2kz-api/workshop