-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 1.39 KB
/
docker-compose.yml
File metadata and controls
51 lines (47 loc) · 1.39 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
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
- ENV=local
- PORT=8080
- FIREBASE_PROJECT_ID=paintbar-7f887
- FIRESTORE_EMULATOR_HOST=firebase:8080
- FIREBASE_AUTH_EMULATOR_HOST=firebase:9099
- FIREBASE_STORAGE_EMULATOR_HOST=firebase:9199
- FIREBASE_STORAGE_BUCKET=paintbar-7f887.firebasestorage.app
- HIERO_NETWORK=local
depends_on:
firebase:
condition: service_healthy
restart: unless-stopped
firebase:
build:
context: .
dockerfile: Dockerfile.firebase
ports:
- "4000:4000" # Emulator UI
- "9099:9099" # Auth emulator
- "8081:8080" # Firestore emulator (mapped to 8081 on host to avoid conflict)
- "9199:9199" # Storage emulator
volumes:
- ./testdata/firestore:/app/testdata
- ./firestore.rules:/app/firestore.rules:ro
- ./firestore.indexes.json:/app/firestore.indexes.json:ro
- ./storage.rules:/app/storage.rules:ro
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:4000 || exit 1"]
interval: 5s
timeout: 5s
retries: 10
start_period: 15s
solo:
image: ghcr.io/hiero-ledger/solo:v0.54.0
ports:
- "50211:50211" # gRPC
- "5551:5551" # Mirror node REST
- "8545:8545" # JSON-RPC relay
restart: unless-stopped