docker-compose.yml 862 B

123456789101112131415161718192021222324252627282930
  1. name: quilibrium
  2. # See sysctl related warning in DOCKER-README.md.
  3. # Host configuration changes are required.
  4. services:
  5. node:
  6. image: trancelife/quilibrium:latest
  7. restart: unless-stopped
  8. environment:
  9. - DEFAULT_LISTEN_GRPC_MULTIADDR=/ip4/0.0.0.0/tcp/8337
  10. - DEFAULT_LISTEN_REST_MULTIADDR=/ip4/0.0.0.0/tcp/8338
  11. - DEFAULT_STATS_MULTIADDR=/dns/stats.quilibrium.com/tcp/443
  12. - IS_CLUSTER=${IS_CLUSTER}
  13. - ROLE=${ROLE}
  14. - CORE_RANGE=${CORE_RANGE}
  15. network_mode: 'host'
  16. healthcheck:
  17. test: ["CMD", "grpcurl", "-plaintext", "localhost:8337", "list", "quilibrium.node.node.pb.NodeService"]
  18. interval: 30s
  19. timeout: 5s
  20. retries: 3
  21. start_period: 1m
  22. volumes:
  23. - ./.config:/root/.config
  24. logging:
  25. driver: "json-file"
  26. options:
  27. max-file: "5"
  28. max-size: 2048m