-
Notifications
You must be signed in to change notification settings - Fork 0
/
net.yml
73 lines (68 loc) · 1.56 KB
/
net.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
version: '3'
services:
snode1:
image: snode-main
container_name: snode1
networks:
push-shared-network:
aliases:
- snode1.local
environment:
DB_NAME: snode1
PORT: 3001
CONFIG_DIR: /config
LOG_DIR: /log
DB_HOST: postgres.local
REDIS_URL: redis://redis.local:6379
VALIDATOR_RPC_ENDPOINT: http://hardhat.local:8545
VALIDATOR_RPC_NETWORK: 1337
ports:
- "3001:3001"
volumes:
- ./docker/01:/config
- ./docker/01/log:/log
snode2:
image: snode-main
container_name: snode2
networks:
push-shared-network:
aliases:
- snode2.local
environment:
DB_NAME: snode2
PORT: 3001
CONFIG_DIR: /config
LOG_DIR: /log
DB_HOST: postgres.local
REDIS_URL: redis://redis.local:6379
VALIDATOR_RPC_ENDPOINT: http://hardhat.local:8545
VALIDATOR_RPC_NETWORK: 1337
ports:
- "3002:3001"
volumes:
- ./docker/02:/config
- ./docker/02/log:/log
snode3:
image: snode-main
container_name: snode3
networks:
push-shared-network:
aliases:
- snode3.local
environment:
DB_NAME: snode3
PORT: 3001
CONFIG_DIR: /config
LOG_DIR: /log
DB_HOST: postgres.local
REDIS_URL: redis://redis.local:6379
VALIDATOR_RPC_ENDPOINT: http://hardhat.local:8545
VALIDATOR_RPC_NETWORK: 1337
ports:
- "3003:3001"
volumes:
- ./docker/03:/config
- ./docker/03/log:/log
networks:
push-shared-network:
external: true