Add restart property to docker-compose example (#398)

* #390

and update docker-compose file in proj root to match one in docs

* docker-compose.yml: fix port

i changed this :(
This commit is contained in:
Mr
2024-03-06 22:31:47 +00:00
committed by GitHub
parent aa7a38b2ee
commit 8a5fd8182f
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -40,6 +40,7 @@ vite.config.ts.timestamp-*
# Docker dev volume
container_data/
data/
# Build artifacts
server/ui
+1
View File
@@ -22,6 +22,7 @@ services:
volumes:
# Contains all of watcharr data (database & cache)
- ./data:/data
restart: unless-stopped
```
:::danger first account
+5 -1
View File
@@ -2,9 +2,13 @@ version: "3"
services:
watcharr:
# The :latest tag is used for simplicity, it is recommended
# to use an actual version, then when updating check the releases for changelogs.
image: ghcr.io/sbondco/watcharr:latest
container_name: watcharr
ports:
- 3080:3080
volumes:
- ./container_data:/data
# Contains all of watcharr data (database & cache)
- ./data:/data
restart: unless-stopped