Add persistent local review stack
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
importarr:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: Dockerfile
|
||||
image: ${REVIEW_IMAGE:-importarr-review:local}
|
||||
env_file:
|
||||
- ${REVIEW_SERVICE_ENV_FILE:-importarr.review.env.example}
|
||||
ports:
|
||||
- "${REVIEW_BIND_ADDRESS:-127.0.0.1}:${REVIEW_PORT:-18765}:8765"
|
||||
volumes:
|
||||
- ../.review-data/config:/config
|
||||
- ../.review-data/downloads:/data/downloads/manual
|
||||
- ../.review-data/movies:/data/movies
|
||||
- ../.review-data/tv:/data/tv
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8765/health', timeout=2)"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 6
|
||||
start_period: 5s
|
||||
Reference in New Issue
Block a user