Skip to content

Commit

Permalink
remove resource limit
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy committed Oct 3, 2024
1 parent 5dec65a commit df73998
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions docker-compose.provernet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
volumes:
- ./log/aztec-node/:/usr/src/yarn-project/aztec/log:rw
healthcheck:
test: [ "CMD", "curl", "-fSs", "http://127.0.0.1:$AZTEC_PORT/status" ]
test: ["CMD", "curl", "-fSs", "http://127.0.0.1:$AZTEC_PORT/status"]
interval: 3s
timeout: 30s
start_period: 120s
Expand All @@ -48,10 +48,6 @@ services:
- "--node"
- "--archiver"
- "--sequencer"
deploy:
resources:
limits:
memory: 800M

# Prover node that listens for unproven blocks on L1, and generates and submits block proofs
# Requires one or more agents to be connected for actually generating proofs
Expand Down Expand Up @@ -80,11 +76,11 @@ services:
aztec-node:
condition: service_healthy
healthcheck:
test: [ "CMD", "curl", "-fSs", "http://127.0.0.1:$AZTEC_PORT/status" ]
test: ["CMD", "curl", "-fSs", "http://127.0.0.1:$AZTEC_PORT/status"]
interval: 3s
timeout: 30s
start_period: 10s
command: [ "start", "--prover-node", "--archiver" ]
command: ["start", "--prover-node", "--archiver"]
restart: on-failure:5

# Prover agent that connects to the prover-node for fetching proving jobs and executing them
Expand All @@ -110,10 +106,10 @@ services:
depends_on:
aztec-prover:
condition: service_healthy
command: [ "start", "--prover" ]
command: ["start", "--prover"]
restart: on-failure:5
healthcheck:
test: [ "CMD", "curl", "-fSs", "http://127.0.0.1:$AZTEC_PORT/status" ]
test: ["CMD", "curl", "-fSs", "http://127.0.0.1:$AZTEC_PORT/status"]
interval: 3s
timeout: 30s
start_period: 20s
Expand Down Expand Up @@ -147,12 +143,12 @@ services:
aztec-node:
condition: service_healthy
healthcheck:
test: [ "CMD", "curl", "-fSs", "http://127.0.0.1:$AZTEC_PORT/status" ]
test: ["CMD", "curl", "-fSs", "http://127.0.0.1:$AZTEC_PORT/status"]
interval: 3s
timeout: 30s
start_period: 10s
restart: on-failure:5
command: [ "start", "--bot", "--pxe" ]
command: ["start", "--bot", "--pxe"]

# Simple watcher that logs the latest block numbers every few seconds using the CLI and the bot's PXE
aztec-block-watcher:
Expand Down

0 comments on commit df73998

Please sign in to comment.