mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 22:31:18 +00:00

Login. Still WIP, but works. Install server files. Once logged in, this works. Add support for experimental in both web and scripts. WIP. Continuous streaming text web interface for long-running server processes. Large refactor of the config file. Use arrays instead of delimited strings. Large refactor of the express server to support the above. Add Steam API key to env for when we do mod searches. Customize the bash shell of the web container should we exec into it. Ignore the env file.
40 lines
904 B
YAML
40 lines
904 B
YAML
volumes:
|
|
# Only in the web container.
|
|
# For steamcmd files and resource files used by the scripts.
|
|
homedir:
|
|
|
|
# Shared by all containers.
|
|
# Mods.
|
|
mods:
|
|
# Server files for release
|
|
serverfiles:
|
|
# Server files for experimental
|
|
serverfiles_experimental:
|
|
# Upstream mission files
|
|
mpmissions:
|
|
mpmissions_experimental:
|
|
|
|
services:
|
|
|
|
web:
|
|
build:
|
|
context: web
|
|
args:
|
|
- USER_ID
|
|
user: ${USER_ID}
|
|
hostname: dayzdockerserver
|
|
volumes:
|
|
- homedir:/home/user
|
|
- serverfiles:/serverfiles
|
|
- serverfiles_experimental:/serverfiles_experimental
|
|
- mpmissions:/serverfiles/mpmissions
|
|
- mpmissions_experimental:/serverfiles_experimental/mpmissions
|
|
- mods:/serverfiles/steamapps/workshop/content
|
|
- mods:/mods
|
|
- ./files:/files
|
|
- ./web:/web
|
|
ports:
|
|
- "8000:8000/tcp"
|
|
restart: no
|
|
env_file:
|
|
- .env
|