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: