-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcompose.yml
More file actions
37 lines (36 loc) · 865 Bytes
/
compose.yml
File metadata and controls
37 lines (36 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
services:
luxd:
container_name: luxd
image: ghcr.io/luxfi/node:latest
restart: unless-stopped
ports:
- "9630:9630"
- "9631:9631"
volumes:
- luxd-data:/root/.luxd
environment:
LUXD_NETWORK_ID: "3"
LUXD_HTTP_HOST: "0.0.0.0"
LUXD_HTTP_PORT: "9630"
LUXD_STAKING_PORT: "9631"
LUXD_SYBIL_PROTECTION_ENABLED: "false"
LUXD_STAKING_ENABLED: "false"
LUXD_CONSENSUS_SAMPLE_SIZE: "1"
LUXD_CONSENSUS_QUORUM_SIZE: "1"
LUXD_LOG_LEVEL: "info"
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:9630/ext/health"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
deploy:
resources:
limits:
cpus: "4"
memory: 8G
reservations:
cpus: "2"
memory: 4G
volumes:
luxd-data: