Skip to content

Commit 3acd825

Browse files
authored
chore: add restart for the docker services (#43)
1 parent 842e7d3 commit 3acd825

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/docker-compose-l2.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ services:
1414
- "/entrypoint.sh"
1515
environment:
1616
GETH_MINER_RECOMMIT: 100ms
17+
restart: unless-stopped
1718
networks:
1819
- ops-bedrock_default
1920

@@ -40,11 +41,14 @@ services:
4041
--safedb.path=/db
4142
ports:
4243
- "7545:8545"
44+
environment:
45+
L1_RPC_KIND: "standard"
4346
volumes:
4447
- "safedb_data:/db"
4548
- "${PWD}/.deploy/test-jwt-secret.txt:/config/jwt-secret.txt"
4649
- "${PWD}/.deploy/rollup.json:/rollup.json"
4750
- op_log:/op_log
51+
restart: unless-stopped
4852
networks:
4953
- ops-bedrock_default
5054

@@ -67,6 +71,7 @@ services:
6771
OP_PROPOSER_GAME_TYPE: "${DG_TYPE}"
6872
OP_PROPOSER_PROPOSAL_INTERVAL: "${PROPOSAL_INTERVAL}"
6973
OP_PROPOSER_RPC_ENABLE_ADMIN: "true"
74+
restart: unless-stopped
7075
networks:
7176
- ops-bedrock_default
7277

@@ -93,6 +98,7 @@ services:
9398
OP_BATCHER_TXMGR_MIN_TIP_CAP: 2.0 # 2 gwei, might need to tweak, depending on gas market
9499
OP_BATCHER_RESUBMISSION_TIMEOUT: 240s # wait 4 min before bumping fees
95100
OP_BATCHER_DATA_AVAILABILITY_TYPE: "blobs"
101+
restart: unless-stopped
96102
networks:
97103
- ops-bedrock_default
98104

0 commit comments

Comments
 (0)