This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
self-hosting/tshock/docker-compose.yml

22 lines
503 B
YAML
Raw Normal View History

version: '3.5'
services:
tshock:
build:
context: .
args:
- 'RELEASE_TAG=${RELEASE_TAG}'
image: 'terraria-tshock:${RELEASE_TAG}'
restart: 'unless-stopped'
stdin_open: true
tty: true
environment:
- AUTOCREATE
ports:
- '$PORT:7777'
volumes:
- '$CONFIG_DIR:/terraria/config'
- '$LOGS_DIR:/terraria/logs'
- '$WORLDS_DIR:/terraria/worlds'