server-dotfiles/terraria/docker-compose.yaml
polpetta ed3c454ae0
All checks were successful
continuous-integration/drone/push Build is passing
Upgrade Terraria server, remove env vars (#2)
Upgrade Terraria server, remove env vars

Co-authored-by: Davide Polonio <davide.polonio@zextras.com>
Reviewed-on: #2
2021-02-16 22:03:32 +00:00

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"