Small text-based online game — a HAL mesh module
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

28 行
866B

  1. services:
  2. txt-game:
  3. image: registry-api.novox.be/novox/txt-game:latest
  4. container_name: txt-game
  5. restart: unless-stopped
  6. environment:
  7. - DOMAIN=${DOMAIN:-localhost}
  8. - TXT_GAME_DB_HOST=${TXT_GAME_DB_HOST}
  9. - TXT_GAME_DB_PORT=${TXT_GAME_DB_PORT}
  10. - TXT_GAME_DB_USER=${TXT_GAME_DB_USER}
  11. - TXT_GAME_DB_PASSWORD=${TXT_GAME_DB_PASSWORD}
  12. - TXT_GAME_DB_NAME=${TXT_GAME_DB_NAME}
  13. labels:
  14. - "traefik.enable=true"
  15. - "traefik.http.routers.txt-game.rule=Host(`txt.${DOMAIN:-localhost}`)"
  16. - "traefik.http.routers.txt-game.entrypoints=websecure"
  17. - "traefik.http.routers.txt-game.tls.certresolver=le"
  18. - "traefik.http.services.txt-game.loadbalancer.server.port=3000"
  19. networks:
  20. - proxy
  21. - postgres_postgres
  22. networks:
  23. proxy:
  24. external: true
  25. postgres_postgres:
  26. external: true