Skip to content

Commit

Permalink
Update docker command to add auto restarts in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoobdude committed Jan 29, 2024
1 parent fb00d53 commit 96781e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The volume sets where the database file should be stored, so it persits. This de
The detach argument runs the container in the background.
The name argument sets the name
```shell
docker run --publish 8000:8000 --volume $(pwd)/dict-data:/backend/dict-data --detach --name Dict likesgay/dict
docker run --publish 8000:8000 --volume $(pwd)/dict-data:/backend/dict-data --detach --restart always --name Dict likesgay/dict
```
The Docker container can automatically be updated to the latest image using [Watchtower](https://containrrr.dev/watchtower/).

Expand Down

0 comments on commit 96781e1

Please sign in to comment.