-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
62 lines (55 loc) · 1.35 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
services:
tipalph:
image: tipalph:latest
restart: "always"
volumes:
- .env:/usr/app/.env:ro
- ./data:/usr/app/data
ports:
- 9464:9464/tcp
secrets:
- source: bot_mnemonic.txt
profiles:
- tipalph
fullnode-mainnet:
extends: fullnode-common
volumes:
- ./fullnode/data_testnet:/alephium-home/.alephium
profiles:
- fullnode-mainnet
fullnode-testnet:
extends: fullnode-common
volumes:
- ./fullnode/data_testnet:/alephium-home/.alephium
environment:
ALEPHIUM_FILE_LOG_LEVEL: "DEBUG"
profiles:
- fullnode-testnet
fullnode-devnet:
extends: fullnode-common
volumes:
- ./fullnode/data_devnet/user.conf:/alephium-home/.alephium/user.conf
environment:
ALEPHIUM_FILE_LOG_LEVEL: "DEBUG"
profiles:
- test
- fullnode-devnet
fullnode-common:
image: alephium/alephium:latest
restart: "no"
ports:
- 19973:19973/tcp
- 19973:19973/udp
- 127.0.0.1:20973:20973
- 127.0.0.1:21973:21973
- 127.0.0.1:22973:22973
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "curl", "http://127.0.0.1:22973/infos/self-clique"]
timeout: 45s
profiles:
- ShouldNeverBeStartedByDefaultSoWeGiveAProfile
secrets:
bot_mnemonic.txt:
file: ./secrets/bot_mnemonic.txt