Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ include:
- ./sequencer/docker-compose.yml
- ./web/docker-compose.yml
- ./proxy/docker-compose.yml
- ./indexer-persistence/docker-compose.yml
- ./indexer/docker-compose.yml
- ./processor-persistence/docker-compose.yml
- ./processor/docker-compose.yml
- ./worker/docker-compose.yml
- ./lightnet/docker-compose.yml
Expand Down
25 changes: 0 additions & 25 deletions docker/indexer-persistence/docker-compose.yml

This file was deleted.

23 changes: 23 additions & 0 deletions docker/indexer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
services:
indexer-postgres:
image: postgres:14-alpine
container_name: starterkit-indexer-postgres
profiles:
- indexer-db
ports:
- 5433:5432
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U $INDEXER_POSTGRES_USER -d $INDEXER_POSTGRES_DB" ]
interval: 5s
timeout: 5s
retries: 5
volumes:
- ../data/indexer/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=${INDEXER_POSTGRES_PASSWORD}
- POSTGRES_USER=${INDEXER_POSTGRES_USER}
- POSTGRES_DB=${INDEXER_POSTGRES_DB}
networks:
- indexer-db-net
restart: unless-stopped

indexer:
image: starterkit-chain-base
build:
Expand Down Expand Up @@ -47,4 +69,5 @@ services:
logging_jobname: "indexer"

networks:
indexer-db-net:
indexer-net:
10 changes: 5 additions & 5 deletions docker/monitoring/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
- "9090:9090"
restart: unless-stopped
volumes:
- ./prometheus/${PROTOKIT_ENV_FOLDER}:/etc/prometheus
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
- ../data/prometheus:/prometheus

loki:
Expand All @@ -37,7 +37,7 @@ services:
networks:
- monitoring
volumes:
- ./promtail/promtail.yaml:/etc/promtail/docker-config.yaml
- ./promtail.yaml:/etc/promtail/docker-config.yaml
- /var/lib/docker/containers:/var/lib/docker/containers:ro
- /var/run/docker.sock:/var/run/docker.sock
command: -config.file=/etc/promtail/docker-config.yaml
Expand All @@ -54,7 +54,7 @@ services:
- chain-net
command: [ "--config=/etc/otel-collector.yaml" ]
volumes:
- ./otel-collector/otel-collector.yaml:/etc/otel-collector.yaml
- ./otel-collector.yaml:/etc/otel-collector.yaml
ports:
- "4318:4317"

Expand All @@ -67,7 +67,7 @@ services:
- monitoring
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- ./tempo/tempo.yaml:/etc/tempo.yaml
- ./tempo.yaml:/etc/tempo.yaml
- ../data/tempo:/var/tempo
ports:
- "3200:3200" # tempo
Expand All @@ -88,7 +88,7 @@ services:
- GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD}
- GF_SECURITY_ALLOW_EMBEDDING=true
volumes:
- ./grafana:/etc/grafana/provisioning/datasources
- ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
- ../data/grafana:/var/lib/grafana
depends_on:
- loki
Expand Down
30 changes: 0 additions & 30 deletions docker/monitoring/prometheus/development/prometheus.yml

This file was deleted.

File renamed without changes.
25 changes: 0 additions & 25 deletions docker/processor-persistence/docker-compose.yml

This file was deleted.

23 changes: 23 additions & 0 deletions docker/processor/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
services:
processor-postgres:
image: postgres:14-alpine
container_name: starterkit-processor-postgres
profiles:
- processor-db
ports:
- 5434:5432
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U $PROCESSOR_POSTGRES_USER -d $PROCESSOR_POSTGRES_DB" ]
interval: 5s
timeout: 5s
retries: 5
volumes:
- ../data/processor/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=${PROCESSOR_POSTGRES_PASSWORD}
- POSTGRES_USER=${PROCESSOR_POSTGRES_USER}
- POSTGRES_DB=${PROCESSOR_POSTGRES_DB}
networks:
- processor-db-net
restart: unless-stopped

processor:
image: starterkit-chain-base
build:
Expand Down Expand Up @@ -33,4 +55,5 @@ services:
logging_jobname: "processor"

networks:
processor-db-net:
processor-net: