-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
35 lines (34 loc) · 943 Bytes
/
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
services:
beammp-server:
image: rouhim/beammp-server
build:
context: .
dockerfile: Containerfile
stdin_open: true
tty: true
environment:
# Game server parameter
- BEAMMP_PRIVATE
- BEAMMP_MAX_CARS
- BEAMMP_MAX_PLAYERS
- BEAMMP_MAP
- BEAMMP_NAME
- BEAMMP_DESCRIPTION
- BEAMMP_PORT
- BEAMMP_DEBUG
- BEAMMP_AUTH_KEY
- TZ
volumes:
# Map a custom ServerConfig.toml file to the container, this is optional
#- ./ServerConfig.toml:/beammp/ServerConfig.toml
# Just move all the client mods you want to add into this folder
- ./client-mods:/beammp/Resources/Client
# All server mods belong here
- ./server-mods:/beammp/Resources/Server
ports:
- "${BEAMMP_PORT}:${BEAMMP_PORT}/tcp"
- "${BEAMMP_PORT}:${BEAMMP_PORT}/udp"
logging:
driver: "json-file"
options:
max-size: "50m"