Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Update docker-compose for automatic restart (unless-stopped) #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 5 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
version: '3'
services:
iota-node:
image: iotaledger/iota-node:testnet
container_name: validator-iota-testnet
restart: unless-stopped
stop_grace_period: 5m
ports:
- "8080:8080"
- "8081:8081"
Expand All @@ -16,4 +20,4 @@ services:
"/opt/iota/bin/iota-node",
"--config-path",
"/opt/iota/config/fullnode.yaml",
]
]