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

26 lines
550 B
YAML

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