Added some more composes
This commit is contained in:
25
Valheim/valheim-server.compose
Normal file
25
Valheim/valheim-server.compose
Normal file
@ -0,0 +1,25 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
valheim:
|
||||
image: lloesche/valheim-server
|
||||
cap_add:
|
||||
- sys_nice
|
||||
volumes:
|
||||
- /srv/docker-volumes/valheim-server/config:/config
|
||||
- /srv/docker-volumes/valheim-server/data:/opt/valheim
|
||||
ports:
|
||||
- "2456-2457:2456-2457/udp"
|
||||
- "9001:9001/tcp"
|
||||
env_file:
|
||||
- /srv/docker-volumes/valheim-server/valheim.env
|
||||
restart: always
|
||||
stop_grace_period: 2m
|
||||
network:
|
||||
- vh_server
|
||||
|
||||
networks:
|
||||
vh_server:
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.20.0.0/24
|
||||
4
Valheim/valheim.env
Normal file
4
Valheim/valheim.env
Normal file
@ -0,0 +1,4 @@
|
||||
SERVER_NAME=My Server
|
||||
WORLD_NAME=Dedicated
|
||||
SERVER_PASS=secret
|
||||
SERVER_PUBLIC=true
|
||||
Reference in New Issue
Block a user