compose/terraria/docker-compose.yml

19 lines
462 B
YAML
Raw Normal View History

2024-06-17 23:47:40 -03:00
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
2024-06-17 23:49:16 -03:00
restart: unless-stopped
networks:
default:
name: "ubuntu-server"
external: true