server-dotfiles/terraria/docker-compose.yaml

26 lines
462 B
YAML
Raw Normal View History

---
2020-07-15 20:32:27 +02:00
version: '3.7'
services:
terraria:
image: ryshe/terraria:tshock-1.4.1.2
2020-07-15 20:32:27 +02:00
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"