Browse Source

Initial Factorio work

master
Yuri van Midden 1 year ago
parent
commit
794d2d6a2f
Signed by: yuri GPG Key ID: B1E365DD233EF90A
  1. 1
      .gitignore
  2. 22
      docker-compose.yml
  3. 13
      env.dist

1
.gitignore

@ -1 +1,2 @@
.env
data/*/

22
docker-compose.yml

@ -7,6 +7,8 @@ services:
#
valheim:
image: lloesche/valheim-server
container_name: games_valheim
restart: unless-stopped
environment:
- TZ=${TZ}
- SERVER_NAME=${VALHEIM_SERVER_NAME}
@ -17,4 +19,22 @@ services:
ports:
- "2456-2458:2456-2458/udp"
volumes:
- "${DATA_DIR}/valheim:/config"
- "${DATA_DIR}/valheim:/config"
#
# Factorio
#
# factorio:
# image: factoriotools/factorio:stable
# container_name: games_factorio
# restart: unless-stopped
# environment:
# - TZ=${TZ}
# - UPDATE_MODS_ON_START=${FACTORIO_UPDATE_MODS_ON_START} # [true|false], requires FACTORIO_TOKEN to be set
# - USERNAME=${FACTORIO_USERNAME}
# - TOKEN=${FACTORIO_TOKEN}
# ports:
# - "34197:34197/udp"
# - "27015:27015/tcp"
# volumes:
# - "${DATA_DIR}/factorio:/factorio"

13
env.dist

@ -1,4 +1,6 @@
# Base config
##
## Base config
##
TZ=Europe/Amsterdam
DATA_DIR=./data
@ -9,4 +11,11 @@ VALHEIM_SERVER_NAME=Harambee server
VALHEIM_SERVER_PORT=2456
VALHEIM_WORLD_NAME=Harambee world
VALHEIM_SERVER_PASS=12345 #should be 5> characters
VALHEIM_SERVER_PUBLIC=1
VALHEIM_SERVER_PUBLIC=1
#
# Factorio
#
FACTORIO_UPDATE_MODS_ON_START=false # [true|false], requires FACTORIO_TOKEN to be set
FACTORIO_USERNAME=
FACTORIO_TOKEN=
Loading…
Cancel
Save