forked from connext/monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
66 lines (62 loc) · 1.38 KB
/
docker-compose.yaml
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
version: "3.3"
services:
router:
depends_on:
- sequencer
- signer
image: ${ROUTER_IMAGE}
restart: always
ports:
- "8080:8080"
logging:
driver: json-file
options:
max-size: 10m
volumes:
- ${PWD}/docker/router/:/home/node/agents/sequencer/
- ${PWD}/docker/router/config.testnet.json:/home/node/packages/agents/router/config.json
networks:
- nxtp
sequencer:
image: ${SEQUENCER_IMAGE}
restart: always
ports:
- "8081:8081"
logging:
driver: json-file
options:
max-size: 10m
volumes:
- ${PWD}/docker/sequencer/:/home/node/agents/sequencer/
- ${PWD}/docker/sequencer/config.testnet.json:/home/node/packages/agents/sequencer/config.json
networks:
- nxtp
router-cache:
image: redis:latest
ports:
- "6379:6379"
networks:
- nxtp
sequencer-cache:
image: redis:latest
ports:
- "6380:6379"
networks:
- nxtp
signer:
image: "ghcr.io/connext/web3signer:latest"
restart: always
ports:
- "9000:9000"
environment:
- WEB3_SIGNER_PRIVATE_KEY=$WEB3_SIGNER_PRIVATE_KEY
- WEB3SIGNER_HTTP_HOST_ALLOWLIST=*
logging:
driver: json-file
options:
max-size: 10m
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
networks:
- nxtp
networks:
nxtp: