resonite/docker-compose.yml
Merith-TK 7e2e006c62
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 57s
rebase to dotnet containter
2024-12-09 21:58:51 +00:00

54 lines
1.9 KiB
YAML

services:
resonite:
# build: .
image: git.merith.xyz/oci/resonite:nightly
container_name: resonite
network_mode: host
stdin_open: true
tty: true
volumes:
# general data
- ./data:/data:rw
# have volume entires in dockerfile, if removed this data will persist
# until the volume is removed
- ./data/resonite:/data/resonite:rw
- ./data/steamcmd:/data/steamcmd:rw
# mount scripts for runtime, optional
- ./scripts:/scripts:ro
## EDIT THESE ENVIRONMENT VARIABLES ##
environment:
# DO NOT REMOVE THIS VALUE
# RUN_AS: 1000
# THIS CONTROLS THE USER ID THAT THE SERVER RUNS AS
# This is specifically so *you* have control over the files]
## Options ##
## These have their defualts set in the Dockerfile, and are safe to remove from this file
# Prevents SteamCMD from updating the gamefiles
DISABLE_STEAMCMD: "false"
# Where to located the config file, defaults to /data/Config.json
# if config file does not exist, it will generate a template one at that location
CONFIG_FILE: "/data/Config.json"
# overrides the command used to start the server, defaults to /scripts/99_start.sh
COMMAND: "/scripts/99_start.sh"
# Wether to enable the Resonite Mod Loader
RESONITE_MOD_LOADER: false
# list of mods to load,
MOD_URLS: |
https://github.com/New-Project-Final-Final-WIP/HeadlessTweaks/releases/latest/download/HeadlessTweaks.dll
https://github.com/Raidriar796/StresslessHeadless/releases/latest/download/StresslessHeadless.dll
# Does not allow the server to start, helpful for debugging the container as a whole
STOP_LAUNCH: false
env_file:
# Intended location for steam credentials
- ./steamcred.env
# STEAM_USER, STEAM_PASS, STEAM_AUTH, STEAM_BETA