2024-02-18 04:52:11 +00:00
|
|
|
name: quilibrium
|
|
|
|
|
2024-02-22 06:07:34 +00:00
|
|
|
# See sysctl related warning in DOCKER-README.md.
|
2024-02-29 06:02:49 +00:00
|
|
|
# Host configuration changes are required.
|
2024-02-22 06:07:34 +00:00
|
|
|
|
2024-02-18 04:52:11 +00:00
|
|
|
services:
|
|
|
|
node:
|
2024-03-08 05:05:23 +00:00
|
|
|
image: ${QUILIBRIUM_IMAGE_NAME:-quilibrium}
|
2024-02-20 23:13:43 +00:00
|
|
|
restart: unless-stopped
|
2024-02-19 06:29:52 +00:00
|
|
|
environment:
|
|
|
|
- DEFAULT_LISTEN_GRPC_MULTIADDR=/ip4/0.0.0.0/tcp/8337
|
|
|
|
- DEFAULT_LISTEN_REST_MULTIADDR=/ip4/0.0.0.0/tcp/8338
|
2024-02-29 06:02:49 +00:00
|
|
|
- DEFAULT_STATS_MULTIADDR=/dns/stats.quilibrium.com/tcp/443
|
2024-02-18 04:52:11 +00:00
|
|
|
ports:
|
2024-03-08 05:05:23 +00:00
|
|
|
- '${QUILIBRIUM_P2P_PORT:-8336}:8336/udp' # p2p
|
|
|
|
- '127.0.0.1:${QUILIBRIUM_GRPC_PORT:-8337}:8337/tcp' # gRPC
|
|
|
|
- '127.0.0.1:${QUILIBRIUM_REST_PORT:-8338}:8338/tcp' # REST
|
|
|
|
healthcheck:
|
2024-04-23 06:53:58 +00:00
|
|
|
test: ["CMD", "grpcurl", "-plaintext", "localhost:8337", "list", "quilibrium.node.node.pb.NodeService"]
|
2024-03-08 05:05:23 +00:00
|
|
|
interval: 30s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 3
|
2024-06-07 00:50:15 +00:00
|
|
|
start_period: 15m
|
2024-02-18 04:52:11 +00:00
|
|
|
volumes:
|
2024-03-12 23:38:35 +00:00
|
|
|
- ./.config:/root/.config
|
2024-02-18 04:52:11 +00:00
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-file: "5"
|
|
|
|
max-size: 2048m
|