mirror of
https://github.com/mbround18/valheim-docker.git
synced 2021-10-22 21:53:54 +03:00
37 lines
863 B
YAML
37 lines
863 B
YAML
version: "3"
|
|
services:
|
|
odin:
|
|
image: mbround18/odin:latest
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile.odin
|
|
volumes:
|
|
- odin-output:/data/odin/target/release
|
|
valheim:
|
|
depends_on:
|
|
- odin
|
|
image: mbround18/valheim:latest
|
|
environment:
|
|
PORT: 2456
|
|
NAME: "Created With Valheim Docker"
|
|
PASSWORD: "Change Me! Please."
|
|
TZ: "America/Los_Angeles"
|
|
AUTO_UPDATE: 1
|
|
AUTO_UPDATE_SCHEDULE: "0 1 * * *"
|
|
TYPE: Vanilla
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile.valheim
|
|
ports:
|
|
- "2456:2456/udp"
|
|
- "2457:2457/udp"
|
|
- "2458:2458/udp"
|
|
volumes:
|
|
- ./tmp/saves:/home/steam/.config/unity3d/IronGate/Valheim
|
|
- ./tmp/server:/home/steam/valheim
|
|
- ./tmp/backups:/home/steam/backups
|
|
- odin-output:/home/steam/.odin
|
|
|
|
volumes:
|
|
odin-output:
|