-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathdocker-compose.yml
46 lines (42 loc) · 985 Bytes
/
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
version: "3.7"
services:
relay:
container_name: hedera-json-rpc-relay
image: "ghcr.io/hashgraph/hedera-json-rpc-relay:main"
restart: "unless-stopped"
ports:
- 7546:7546
pull_policy: always
tty: true
volumes:
- ./.env:/home/node/app/.env
environment:
REDIS_ENABLED: true
REDIS_URL: "redis://redis:6379"
relay-ws:
container_name: hedera-json-rpc-relay-ws
image: "ghcr.io/hashgraph/hedera-json-rpc-relay:main"
command: start:ws
environment:
HEALTHCHECK_PORT: 8547
SUBSCRIPTIONS_ENABLED: true
REDIS_ENABLED: true
REDIS_URL: "redis://redis:6379"
restart: "unless-stopped"
ports:
- 8546:8546
- 8547:8547
pull_policy: always
tty: true
volumes:
- ./.env:/home/node/app/.env
redis:
image: redis:latest
container_name: redis_cache
ports:
- '6379:6379'
volumes:
- redis-data:/data
restart: always
volumes:
redis-data: