Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dlt-green
Copy link

We would suggest adding the following parameter:

adding to docker-compose:
version: '3'

adding to docker-compose/service:
container_name: validator-iota-testnet (nice to have)
restart: unless-stopped (then the container would automatically restart when not manually stopped)
stop_grace_period: 2m (maximum time for stopping the container)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants