-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (50 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
55 lines (50 loc) · 1.2 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
49
50
51
52
53
54
55
version: '3.8'
services:
# Zcash Testnet Node
zcashd:
image: electriccoinco/zcashd:latest
container_name: compz-zcashd
ports:
- "18232:18232" # RPC port
- "18233:18233" # P2P port
volumes:
- zcash-data:/root/.zcash
- ./zcash.conf:/root/.zcash/zcash.conf:ro
environment:
- ZCASHD_NETWORK=testnet
command: zcashd -testnet -daemon=0
restart: unless-stopped
networks:
- compz-network
# Optional: CompZ Gateway API (for demo mode)
# Uncomment to run your own demo gateway
# gateway:
# build:
# context: .
# dockerfile: gateway/Dockerfile
# container_name: compz-gateway
# ports:
# - "8000:8000"
# environment:
# - ZCASH_RPC_URL=http://zcashd:18232
# - ZCASH_RPC_USER=compz
# - ZCASH_RPC_PASS=compz_secure_password_change_this
# depends_on:
# - zcashd
# - redis
# networks:
# - compz-network
# Optional: Redis for rate limiting (gateway)
# redis:
# image: redis:7-alpine
# container_name: compz-redis
# ports:
# - "6379:6379"
# networks:
# - compz-network
volumes:
zcash-data:
driver: local
networks:
compz-network:
driver: bridge