Browse Source

Initial commit: Valheim

master
Yuri van Midden 1 year ago
commit
f0b2ec7c59
Signed by: yuri GPG Key ID: B1E365DD233EF90A
  1. 1
      .gitignore
  2. 0
      data/.gitkeep
  3. 20
      docker-compose.yml
  4. 11
      env.dist

1
.gitignore

@ -0,0 +1 @@
data/*/

0
data/.gitkeep

20
docker-compose.yml

@ -0,0 +1,20 @@
version: "3.7"
services:
#
# Valheim
#
valheim:
image: lloesche/valheim-server
environment:
- TZ=${TZ}
- SERVER_NAME=${VALHEIM_SERVER_NAME}
- SERVER_PORT=${VALHEIM_SERVER_PORT}
- WORLD_NAME=${VALHEIM_WORLD_NAME}
- SERVER_PASS=${VALHEIM_SERVER_PASS}
- SERVER_PUBLIC=${VALHEIM_SERVER_PUBLIC}
ports:
- "2456-2458:2456-2458/udp"
volumes:
- "./data/valheim:/config"

11
env.dist

@ -0,0 +1,11 @@
# Base config
TZ=Europe/Amsterdam
#
# Valheim
#
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
Loading…
Cancel
Save