-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yaml
60 lines (58 loc) · 1.34 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
services:
redis:
image: redis:latest
container_name: redis-docker
expose:
- ${REDIS_PORT}:${REDIS_PORT}
attach: false
logging:
driver: 'local'
options:
max-size: 50m
max-file: 5
spy:
image: ghcr.io/wormhole-foundation/guardiand:latest
platform: linux/amd64
container_name: spy
expose:
- ${SPY_PORT}:${SPY_PORT}
entrypoint: /guardiand
command:
- spy
- --nodeKey
- /node.key
- --spyRPC
- '[::]:${SPY_PORT}'
- --env
- mainnet
attach: false
profiles: ['wormhole']
logging:
driver: 'local'
options:
max-size: 50m
max-file: 5
relayer:
image: ghcr.io/catalystdao/generalised-relayer:testnet
build:
context: .
dockerfile: dockerfile.relayer
volumes:
- ./config.${NODE_ENV}.yaml:/usr/catalyst-relayer/config.${NODE_ENV}.yaml
- ./.env:/usr/catalyst-relayer/.env
environment:
- NODE_ENV=${NODE_ENV}
- REDIS_HOST=redis
- SPY_HOST=spy
- RELAYER_PRIVATE_KEY=${RELAYER_PRIVATE_KEY}
expose:
- ${RELAYER_PORT}:${RELAYER_PORT}
container_name: relayer
restart: unless-stopped
depends_on:
- redis
logging:
driver: 'local'
options:
max-size: ${MAX_LOG_SIZE:-500m}
max-file: ${MAX_LOG_FILES:-5}