7d2d test

This commit is contained in:
Guahos 2020-02-13 11:09:57 +00:00
parent 1629252d42
commit 886a1d0020
3 changed files with 22 additions and 0 deletions

4
linux/7d2d/compose.sh Executable file
View File

@ -0,0 +1,4 @@
docker-compose pull --ignore-pull-failures
docker-compose down
docker-compose up -d

View File

@ -0,0 +1,14 @@
version: '3.7'
services:
7d2d_server:
container_name: 7d2d_ds_v1
build: .
ports:
- "26900:26900"
- "26901:26901"
- "26902:26902"
- "8080:8080"
- "8081:8081"
restart: always
volumes:
- /docker/7test/vol:/steamcmd/vol

4
linux/7d2d/run_7d2d.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
$VALVE_GAME_FOLDER/7DaysToDieServer.x86_64 \
-logfile $VALVE_STEAMCMD_FOLDER/vol/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \
-quit -batchmode -nographics -dedicated -configfile=$VALVE_STEAMCMD_FOLDER/vol/serverconfig.xml