-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (40 loc) · 1.12 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
version: "3"
services:
battlebit-server-docker:
container_name: battlebit-server-docker
# pull_policy: always
image: ghcr.io/jackblk/battlebit-server-docker:latest
restart: unless-stopped
# build:
# context: .
# dockerfile: Dockerfile
volumes:
- ./config:/home/steam/config
- ./data/battlebit:/home/steam/battlebit
- ./data/Steam:/home/steam/Steam
env_file:
- config/.env
ports:
- "30000:30000/udp"
- "30001:30001/udp"
# NOTE: static ip is for static config on battlebit-runner
# if you don't use battlebit-runner, feel free to delete all `networks` related stuff
networks:
static-network:
ipv4_address: 172.20.128.10
battlebit-runner:
container_name: battlebit-runner
image: ghcr.io/jackblk/battlebit-api-runner:latest
restart: unless-stopped
volumes:
# - ./config/runner/appsettings.json:/app/appsettings.json
- ./config/runner/data:/app/data
# ports:
# - "29999:29999"
networks:
static-network:
networks:
static-network:
ipam:
config:
- subnet: 172.20.128.0/28