CI / build (push) Successful in 1m44s
- Add winePath helper that prepends Z: when platform is windows on Linux - Thread platform through buildModPath, buildAutoArgs, and Start() - Apply Z: prefix to -config=, -mod=, -profiles=, and %command% binary paths - Add tests for winePath, buildAutoArgs, and buildModPath with platform param - Fix formatting across services package with gofmt - Include all prior bug fixes from this branch
19 lines
430 B
YAML
19 lines
430 B
YAML
services:
|
|
arma3-web-server:
|
|
build: .
|
|
container_name: arma3-web
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- ./data:/data
|
|
- ${SERVERS_DIR:-./serverfiles}:/servers
|
|
environment:
|
|
- DATA_DIR=/data
|
|
- SERVERFILE_DIR=/servers
|
|
- MODS_DIR=/servers/mods
|
|
- CFG_DIR=/servers/cfg
|
|
- PROFILES_DIR=/servers/profiles
|
|
- LISTEN=:8080
|
|
- GIN_MODE=release
|
|
restart: unless-stopped
|