Skip to content

Commit

Permalink
add restart policy on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed Nov 21, 2021
1 parent 9850275 commit 8dfe204
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ DISABLE_SECURE_COOKIES=false
# Let's enjoy!
docker run --init -e SESSION_SECRET_KEY="your random string of at least 32 bytes" \
-e DISABLE_SECURE_COOKIES=$DISABLE_SECURE_COOKIES \
-d -p $HOST_PORT:3000 -v $(pwd)/data:/data ghcr.io/solaoi/co-metub:latest
-d --restart=on-failure:1 \
-p $HOST_PORT:3000 -v $(pwd)/data:/data ghcr.io/solaoi/co-metub:latest
```

#### Persist the stub data
Expand Down

0 comments on commit 8dfe204

Please sign in to comment.