compose/terraria/docker-compose.yml
2024-06-17 23:49:16 -03:00

19 lines
462 B
YAML

version: "3"
services:
terraria:
container_name: terraria
image: ryshe/terraria:tshock-latest
stdin_open: true # docker run -i
tty: true # docker run -t
environment:
- WORLD_FILENAME=Oblivion.wld
- CONFIGPATH=config.json
ports:
- 7777:7777
volumes:
- /docker/appdata/terraria/worlds:/root/.local/share/Terraria/Worlds
restart: unless-stopped
networks:
default:
name: "ubuntu-server"
external: true