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
Raw Permalink Normal View History

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