server-dotfiles/terraria/docker-compose.yaml

26 lines
462 B
YAML

---
version: '3.7'
services:
terraria:
image: ryshe/terraria:tshock-1.4.1.2
stdin_open: true
tty: true
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"