2023-05-21 12:37:28 +02:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
|
|
vrising:
|
|
|
|
image: didstopia/vrising-server:latest
|
|
|
|
container_name: vrising
|
|
|
|
restart: unless-stopped
|
2023-05-21 12:44:11 +02:00
|
|
|
stop_grace_period: 2m30s # Avoid data loss
|
2023-05-21 12:37:28 +02:00
|
|
|
environment:
|
|
|
|
# Configure the server
|
|
|
|
V_RISING_SERVER_PERSISTENT_DATA_PATH: "/app/vrising"
|
|
|
|
V_RISING_SERVER_BRANCH: "public"
|
|
|
|
V_RISING_SERVER_START_MODE: "0" # Install/update and start server
|
|
|
|
# V_RISING_SERVER_START_MODE: "1" # Install/update and exit
|
|
|
|
# V_RISING_SERVER_START_MODE: "2" # Install, skip update check and start server
|
|
|
|
V_RISING_SERVER_UPDATE_MODE: "1" # Enable update checking
|
|
|
|
|
|
|
|
# Customize the server
|
|
|
|
V_RISING_SERVER_NAME: "V Rising Clownfiesta Server"
|
|
|
|
V_RISING_SERVER_DESCRIPTION: "V Rising server for Clownfiesta clan"
|
|
|
|
V_RISING_SERVER_GAME_PORT: 9876
|
|
|
|
V_RISING_SERVER_QUERY_PORT: 9877
|
|
|
|
V_RISING_SERVER_RCON_PORT: 9878
|
|
|
|
V_RISING_SERVER_RCON_ENABLED: "true"
|
|
|
|
V_RISING_SERVER_MAX_CONNECTED_USERS: 100
|
|
|
|
V_RISING_SERVER_MAX_CONNECTED_ADMINS: 100
|
|
|
|
V_RISING_SERVER_SAVE_NAME: "clownfiesta_server_1"
|
|
|
|
V_RISING_SERVER_LIST_ON_MASTER_SERVER: "false"
|
|
|
|
V_RISING_SERVER_LIST_ON_STEAM: "false"
|
|
|
|
V_RISING_SERVER_LIST_ON_EOS: "false"
|
|
|
|
V_RISING_SERVER_AUTO_SAVE_COUNT: 5
|
|
|
|
V_RISING_SERVER_AUTO_SAVE_INTERVAL: 10
|
2023-05-23 09:34:31 +02:00
|
|
|
V_RISING_SERVER_GAME_SETTINGS_PRESET: "StandardPvP"
|
2023-05-21 12:37:28 +02:00
|
|
|
env_file: .vrising.env # For server passwords
|
|
|
|
ports:
|
|
|
|
- "9876:9876/udp"
|
|
|
|
- "9877:9877/udp"
|
|
|
|
- "9878:9878/tcp"
|
|
|
|
volumes:
|
|
|
|
- vrising_saves:/app/vrising
|
|
|
|
- vrising_data:/steamcmd/vrising
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "5m"
|
|
|
|
max-file: "1"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
vrising_saves:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: "/srv/docker/vrising/saves"
|
|
|
|
vrising_data:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: "/srv/docker/vrising/data"
|
|
|
|
|