-
Notifications
You must be signed in to change notification settings - Fork 112
/
docker-compose.yml
129 lines (120 loc) · 3.56 KB
/
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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
version: "3.8"
services:
db:
image: postgres:16-alpine
environment:
PGDATA: /var/lib/postgresql/data
POSTGRES_HOST_AUTH_METHOD: scram-sha-256
POSTGRES_INITDB_ARGS: --auth-host=scram-sha-256
POSTGRES_PASSWORD: postgres_password
ports:
- 5432:5432
restart: unless-stopped
stop_grace_period: 2m
stop_signal: SIGTERM
tty: true
volumes:
- ./db:/var/lib/postgresql/data
- ./hedera-mirror-importer/src/main/resources/db/scripts/init.sh:/docker-entrypoint-initdb.d/init.sh
graphql:
image: gcr.io/mirrornode/hedera-mirror-graphql:0.119.0-SNAPSHOT
pull_policy: always
deploy:
replicas: 0
environment:
HEDERA_MIRROR_GRAPHQL_DB_HOST: db
SPRING_CONFIG_ADDITIONAL_LOCATION: file:/usr/etc/hedera-mirror-graphql/
ports:
- 8083:8083
restart: unless-stopped
tty: true
volumes:
- ./application.yml:/usr/etc/hedera-mirror-graphql/application.yml
grpc:
image: gcr.io/mirrornode/hedera-mirror-grpc:0.119.0-SNAPSHOT
pull_policy: always
restart: unless-stopped
environment:
HEDERA_MIRROR_GRPC_DB_HOST: db
SPRING_CONFIG_ADDITIONAL_LOCATION: file:/usr/etc/hedera-mirror-grpc/
SPRING_DATA_REDIS_HOST: redis
ports:
- 5600:5600
volumes:
- ./application.yml:/usr/etc/hedera-mirror-grpc/application.yml
importer:
image: gcr.io/mirrornode/hedera-mirror-importer:0.119.0-SNAPSHOT
pull_policy: always
restart: unless-stopped
environment:
HEDERA_MIRROR_IMPORTER_DB_HOST: db
SPRING_CONFIG_ADDITIONAL_LOCATION: file:/usr/etc/hedera-mirror-importer/
SPRING_DATA_REDIS_HOST: redis
volumes:
- ./application.yml:/usr/etc/hedera-mirror-importer/application.yml
monitor:
deploy:
replicas: 0
image: gcr.io/mirrornode/hedera-mirror-monitor:0.119.0-SNAPSHOT
pull_policy: always
restart: unless-stopped
environment:
SPRING_CONFIG_ADDITIONAL_LOCATION: file:/usr/etc/hedera-mirror-monitor/
volumes:
- ./application.yml:/usr/etc/hedera-mirror-monitor/application.yml
redis:
image: redis:6-alpine
ports:
- 6379:6379
restart: unless-stopped
stop_grace_period: 2m
stop_signal: SIGTERM
tty: true
rest:
image: gcr.io/mirrornode/hedera-mirror-rest:0.119.0-SNAPSHOT
pull_policy: always
environment:
HEDERA_MIRROR_REST_DB_HOST: db
ports:
- 5551:5551
restart: unless-stopped
tty: true
rest-java:
image: gcr.io/mirrornode/hedera-mirror-rest-java:0.119.0-SNAPSHOT
pull_policy: always
deploy:
replicas: 0
environment:
HEDERA_MIRROR_RESTJAVA_DB_HOST: db
SPRING_CONFIG_ADDITIONAL_LOCATION: file:/usr/etc/hedera-mirror-rest-java/
ports:
- 8084:8084
restart: unless-stopped
tty: true
volumes:
- ./application.yml:/usr/etc/hedera-mirror-rest-java/application.yml
rosetta:
image: gcr.io/mirrornode/hedera-mirror-rosetta:0.119.0-SNAPSHOT
deploy:
replicas: 0
pull_policy: always
environment:
HEDERA_MIRROR_ROSETTA_DB_HOST: db
ports:
- 5700:5700
restart: unless-stopped
tty: true
volumes:
- ./application.yml:/src/hedera-mirror-rosetta/application.yml
web3:
image: gcr.io/mirrornode/hedera-mirror-web3:0.119.0-SNAPSHOT
pull_policy: always
environment:
HEDERA_MIRROR_WEB3_DB_HOST: db
SPRING_CONFIG_ADDITIONAL_LOCATION: file:/usr/etc/hedera-mirror-web3/
ports:
- 8545:8545
restart: unless-stopped
tty: true
volumes:
- ./application.yml:/usr/etc/hedera-mirror-web3/application.yml