-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
92 lines (92 loc) · 2.36 KB
/
docker-compose.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: "3.4"
services:
alephium:
image: alephium.alephium.dnp.dappnode.eth:0.1.0
build:
context: alephium
args:
ALEPHIUM_VERSION: v3.11.2
restart: unless-stopped
ports:
- 9973:9973/tcp
- 9973:9973/udp
security_opt:
- no-new-privileges:true
volumes:
- alephium-data:/alephium-home/.alephium
- alephium-wallets:/alephium-home/.alephium-wallets
environment:
- ALEPHIUM_FORCE_RELOAD_SNAPSHOT=0
- NODE_TYPE=pruned
- INITIALIZING_FROM_SNAPSHOT=disabled
- EXTRA_OPTS=
healthcheck:
test:
- CMD
- curl
- http://127.0.0.1:12973/infos/self-clique
timeout: 45s
postgres:
image: postgres.alephium.dnp.dappnode.eth:0.1.0
build:
context: postgres
user: postgres
environment:
- EXPLORER_ENABLED=disabled
restart: unless-stopped
volumes:
- postgres_data:/var/lib/postgresql/14/main
explorer-backend:
image: explorer-backend.alephium.dnp.dappnode.eth:0.1.0
build:
context: explorer-backend
args:
ALEPHIUM_BACKEND_VERSION: v2.6.0
depends_on:
alephium:
condition: service_healthy
restart: unless-stopped
security_opt:
- seccomp:unconfined
- no-new-privileges:true
environment:
- EXPLORER_HOST=0.0.0.0
- EXPLORER_PORT=9090
- BLOCKFLOW_HOST=alephium.alephium.dappnode
- BLOCKFLOW_PORT=12973
- DB_NAME=alephium-explorer
- DB_HOST=postgres.alephium.dappnode
- DB_PORT=5432
- DB_USER=alephium
- DB_PASSWORD=alephium
- EXPLORER_READONLY=false
- EXPLORER_ENABLED=disabled
healthcheck:
test:
- CMD
- curl
- http://127.0.0.1:$${EXPLORER_PORT:-9090}/infos
timeout: 45s
interval: 30s
retries: 10
explorer-frontend:
image: explorer-frontend.alephium.dnp.dappnode.eth:0.1.0
build:
context: explorer-frontend
args:
ALEPHIUM_EXPLORER_VERSION: 1.10.11
depends_on:
- explorer-backend
restart: unless-stopped
security_opt:
- no-new-privileges:true
environment:
- EXPLORER_ENABLED=disabled
- VITE_BACKEND_URL=http://explorer-backend.alephium.dappnode:9090
- VITE_NETWORK_TYPE=mainnet
volumes:
alephium-data: {}
alephium-wallets: {}
prometheus_data: {}
grafana_data: {}
postgres_data: {}