Skip to content

Commit

Permalink
introduce profiles to docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonastheis committed Nov 21, 2024
1 parent 0123502 commit 596d9fe
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion permissionless-batches/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: permissionless-batches

services:
relayer:
relayer-batch-production:
build:
context: ../
dockerfile: build/dockerfiles/recovery_permissionless_batches.Dockerfile
container_name: permissionless-batches-relayer
volumes:
- ./conf/relayer:/app/conf
command: "--config /app/conf/config.json"
profiles:
- batch-production-submission
depends_on:
db:
condition: service_healthy
Expand Down Expand Up @@ -36,6 +38,8 @@ services:
volumes:
- ./conf/coordinator/:/app/conf
command: "--config /app/conf/config.json --http.port 8390 --verbosity 5"
profiles:
- proving
depends_on:
db:
condition: service_healthy
Expand All @@ -53,6 +57,8 @@ services:
volumes:
- ./conf/coordinator/:/app/conf
command: "--config /app/conf/config.json --verbosity 3"
profiles:
- proving
depends_on:
db:
condition: service_healthy
Expand All @@ -62,6 +68,8 @@ services:
image: scrolltech/sdk-cloud-prover:sindri-v0.0.5
platform: linux/amd64
command: "--config /app/config.json"
profiles:
- proving
environment:
PROVER_NAME_PREFIX: "sindri_chunk"
CIRCUIT_TYPE: 1 # 1 for chunk proving
Expand All @@ -77,6 +85,8 @@ services:
image: scrolltech/sdk-cloud-prover:sindri-v0.0.5
platform: linux/amd64
command: "--config /app/config.json"
profiles:
- proving
environment:
PROVER_NAME_PREFIX: "sindri_batch"
CIRCUIT_TYPE: 2 # 2 for batch proving
Expand All @@ -92,6 +102,8 @@ services:
image: scrolltech/sdk-cloud-prover:sindri-v0.0.5
platform: linux/amd64
command: "--config /app/config.json"
profiles:
- proving
environment:
PROVER_NAME_PREFIX: "sindri_bundle"
CIRCUIT_TYPE: 3 # 3 for bundle proving
Expand Down

0 comments on commit 596d9fe

Please sign in to comment.