-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathcompose.setup.yml
More file actions
98 lines (90 loc) · 2.82 KB
/
compose.setup.yml
File metadata and controls
98 lines (90 loc) · 2.82 KB
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
93
94
95
96
97
98
version: '3.8'
services:
cfgsync:
container_name: cfgsync
image: ghcr.io/logos-blockchain/logos-blockchain:${TOOLS_IMAGE_LABEL}
volumes:
- node-data:/node-data
- ./testnet:/etc/logos-blockchain
ports:
- "4400:4400/tcp"
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_server.sh
client-0:
container_name: client_0
image: ghcr.io/logos-blockchain/logos-blockchain:${TOOLS_IMAGE_LABEL}
volumes:
- node-data:/node-data
- ./testnet:/etc/logos-blockchain
depends_on:
- cfgsync
environment:
- LB_HOST_IDX=0
- CFG_HOST_IP=${PUBLIC_IP_ADDR}
- CFG_NETWORK_PORT=${NODE0_NET_PORT}
- CFG_BLEND_PORT=${NODE0_BLEND_PORT}
- CFG_API_PORT=${NODE0_API_PORT}
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_client.sh
client-1:
container_name: client_1
image: ghcr.io/logos-blockchain/logos-blockchain:${TOOLS_IMAGE_LABEL}
volumes:
- node-data:/node-data
- ./testnet:/etc/logos-blockchain
depends_on:
- cfgsync
environment:
- LB_HOST_IDX=1
- CFG_HOST_IP=${PUBLIC_IP_ADDR}
- CFG_NETWORK_PORT=${NODE1_NET_PORT}
- CFG_BLEND_PORT=${NODE1_BLEND_PORT}
- CFG_API_PORT=${NODE1_API_PORT}
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_client.sh
client-2:
container_name: client_2
image: ghcr.io/logos-blockchain/logos-blockchain:${TOOLS_IMAGE_LABEL}
volumes:
- node-data:/node-data
- ./testnet:/etc/logos-blockchain
depends_on:
- cfgsync
environment:
- LB_HOST_IDX=2
- CFG_HOST_IP=${PUBLIC_IP_ADDR}
- CFG_NETWORK_PORT=${NODE2_NET_PORT}
- CFG_BLEND_PORT=${NODE2_BLEND_PORT}
- CFG_API_PORT=${NODE2_API_PORT}
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_client.sh
client-3:
container_name: client_3
image: ghcr.io/logos-blockchain/logos-blockchain:${TOOLS_IMAGE_LABEL}
volumes:
- node-data:/node-data
- ./testnet:/etc/logos-blockchain
depends_on:
- cfgsync
environment:
- LB_HOST_IDX=3
- CFG_HOST_IP=${PUBLIC_IP_ADDR}
- CFG_NETWORK_PORT=${NODE3_NET_PORT}
- CFG_BLEND_PORT=${NODE3_BLEND_PORT}
- CFG_API_PORT=${NODE3_API_PORT}
entrypoint: /etc/logos-blockchain/scripts/setup_cfgsync_client.sh
nginx:
container_name: nginx
image: docker.io/library/nginx:stable-trixie-perl
ports:
- "13000:13000"
- "13001:13001"
depends_on:
- cfgsync
environment:
- ENV_TITLE_STRING=${ENV_TITLE_STRING}
volumes:
- node-data:/node-data
- ./testnet/nginx/setup.conf:/etc/nginx/nginx.conf
- ./testnet/nginx/static/setup:/usr/share/nginx/html_template
- ./testnet/scripts/setup_nginx.sh:/etc/setup_nginx.sh
entrypoint: /etc/setup_nginx.sh
volumes:
node-data:
name: logos-node-data