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'