-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.12 KB
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
services:
zebra:
image: zfnd/zebra:latest
platform: linux/amd64
container_name: zev-zebra
ports:
- "18232:18232" # RPC port
- "18233:18233" # P2P port
volumes:
- ./config/zebrad.toml:/etc/zebrad/zebrad.toml:ro
command: ["zebrad", "-c", "/etc/zebrad/zebrad.toml", "start"]
restart: unless-stopped
# lightwalletd:
# image: electriccoinco/lightwalletd:latest
# container_name: zev-lightwalletd
# ports:
# - "9067:9067" # gRPC port
# depends_on:
# - zebra
# environment:
# - ZCASH_RPC_HOST=zebra
# - ZCASH_RPC_PORT=18232
# restart: unless-stopped
postgres:
image: postgres:16-alpine
container_name: zev-postgres
ports:
- "5432:5432"
environment:
- POSTGRES_DB=zev
- POSTGRES_USER=zev
- POSTGRES_PASSWORD=zev_dev_password
volumes:
- postgres-data:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U zev"]
interval: 5s
timeout: 5s
retries: 5
volumes:
zebra-data:
driver: local
postgres-data:
driver: local