Skip to content

Commit 53dd4eb

Browse files
committed
fix grafana dashboard config
1 parent 55e6bba commit 53dd4eb

2 files changed

Lines changed: 220 additions & 127 deletions

File tree

tests/localnet/docker-compose.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
services:
22
gitopiad:
3+
container_name: gitopiad
34
image: gitopia/gitopiad-e2e
45
build:
56
context: ../../
67
dockerfile: Dockerfile
78
volumes:
89
- ./scripts/setup_chain.sh:/gitopia/setup.sh
910
- ./data/gitopia/:/gitopia/.gitopia/
10-
# - gitopiad-binary:/gitopia/bin # New volume to share the binary
11+
- gitopiad-binary:/gitopia/bin # New volume to share the binary
1112
entrypoint:
1213
- /gitopia/setup.sh
1314
environment:
@@ -18,6 +19,7 @@ services:
1819
- 9090:9090
1920
- 26657:26657
2021
expose:
22+
- 1317
2123
- 9090
2224
- 26657
2325
healthcheck:
@@ -29,6 +31,7 @@ services:
2931
- gitopia-localnet
3032

3133
faucet:
34+
container_name: faucet
3235
image: gitopia/faucet
3336
ports:
3437
- 4500:4500
@@ -45,7 +48,7 @@ services:
4548
# IPFS node for storage providers
4649
ipfs:
4750
container_name: ipfs
48-
image: ipfs/kubo:v0.25.0
51+
image: ipfs/kubo
4952
ports:
5053
- "4001:4001" # ipfs swarm
5154
- "5001:5001" # ipfs api
@@ -58,7 +61,7 @@ services:
5861
# IPFS Cluster for distributed storage
5962
cluster:
6063
container_name: ipfs-cluster
61-
image: ipfs/ipfs-cluster:v1.1.0
64+
image: ipfs/ipfs-cluster
6265
depends_on:
6366
- ipfs
6467
environment:
@@ -78,10 +81,12 @@ services:
7881
# Storage Provider
7982
gitopia-storage:
8083
container_name: gitopia-storage
81-
image: gitopia/gitopia-storage:latest
84+
image: gitopia/gitopia-storage
8285
depends_on:
83-
- cluster
84-
- gitopiad
86+
cluster:
87+
condition: service_started
88+
gitopiad:
89+
condition: service_healthy
8590
ports:
8691
- "5002:5000"
8792
environment:

0 commit comments

Comments
 (0)