services: txt-game: image: registry-api.novox.be/novox/txt-game:latest container_name: txt-game restart: unless-stopped environment: - DOMAIN=${DOMAIN:-localhost} - TXT_GAME_DB_HOST=${TXT_GAME_DB_HOST} - TXT_GAME_DB_PORT=${TXT_GAME_DB_PORT} - TXT_GAME_DB_USER=${TXT_GAME_DB_USER} - TXT_GAME_DB_PASSWORD=${TXT_GAME_DB_PASSWORD} - TXT_GAME_DB_NAME=${TXT_GAME_DB_NAME} labels: - "traefik.enable=true" - "traefik.http.routers.txt-game.rule=Host(`txt.${DOMAIN:-localhost}`)" - "traefik.http.routers.txt-game.entrypoints=websecure" - "traefik.http.routers.txt-game.tls.certresolver=le" - "traefik.http.services.txt-game.loadbalancer.server.port=3000" networks: - proxy - postgres_postgres networks: proxy: external: true postgres_postgres: external: true