server-dotfiles/terraria/docker-compose.yaml

27 lines
529 B
YAML

version: '3.7'
services:
terraria:
image: ryshe/terraria:4.4.0-pre12
stdin_open: true
tty: true
environment:
- WORLD_FILENAME=Artifact_Waiting_Room_Crimson.wld
ports:
- "7777:7777"
volumes:
- terraria_config:/root/.local/share/Terraria/Worlds
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
volumes:
terraria_config:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/terraria/config"