Skip to content

Commit a069923

Browse files
committed
Docker compose tweaks
1 parent 6771613 commit a069923

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docker-compose.tips.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ services:
5959
env_file:
6060
- .env.docker
6161
restart: unless-stopped
62+
depends_on:
63+
postgres:
64+
condition: service_healthy
6265
healthcheck:
6366
test: [ "CMD-SHELL", "[ \"$(curl -s -w '%{http_code}' -o /dev/null \"localhost:4444\")\" = \"401\" ]" ]
6467
interval: 10s

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ services:
106106
- "17300:7300" # metrics
107107
- "16060:6060" # pprof
108108
volumes:
109-
- ~/.playground/devnet/jwtsecret:/data/jwtsecret
110-
- ~/.playground/devnet/rollup.json:/data/rollup.json
109+
- ~/.playground/devnet/jwtsecret:/data/jwtsecret:ro
110+
- ~/.playground/devnet/rollup.json:/data/rollup.json:ro
111111
environment:
112112
# NETWORK CONFIGURATION
113113
OP_NODE_NETWORK: ""
@@ -119,7 +119,7 @@ services:
119119
OP_RETH_SEQUENCER_HTTP: http://host.docker.internal:8547
120120

121121
# SYNC CONFIGURATION
122-
OP_NODE_SYNCMODE: execution-layer
122+
OP_NODE_SYNCMODE: consensus-layer
123123
OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS: "true"
124124

125125
# L1 CONFIGURATION

0 commit comments

Comments
 (0)