docker-compose.yml 669 B

123456789101112131415161718192021222324252627282930
  1. services:
  2. frontend:
  3. build:
  4. context: .
  5. args:
  6. VITE_API_BASE_URL: ${VITE_API_BASE_URL:-https://api.ccdw.life/celestia-trace/v1}
  7. container_name: celestia-frontend
  8. restart: unless-stopped
  9. expose:
  10. - "80"
  11. networks:
  12. proxy:
  13. aliases:
  14. - celestia-frontend
  15. healthcheck:
  16. test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/healthz >/dev/null || exit 1"]
  17. interval: 10s
  18. timeout: 3s
  19. retries: 5
  20. start_period: 10s
  21. logging:
  22. driver: json-file
  23. options:
  24. max-size: "10m"
  25. max-file: "3"
  26. networks:
  27. proxy:
  28. name: meishi_ccdw_life_default
  29. external: true