36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
---
|
|
name: wizarr
|
|
services:
|
|
wizarr-server:
|
|
container_name: wizarr_server
|
|
image: ghcr.io/wizarrrrr/wizarr:${WIZARR_IMAGE_VERSION:-release}
|
|
volumes:
|
|
- /home/docker/wizarr:/usr/wizarr/data/storage
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
- DATABASE_TYPE=postgres
|
|
- DB_USERNAME=wizarr
|
|
- DB_PASSWORD=password
|
|
- DB_HOST=10.89.0.102
|
|
- DB_DATABASE_NAME=wizarr
|
|
- WIZARR_IMAGE_VERSION=release
|
|
- REDIS_HOST=redis
|
|
- REDIS_PORT=6379
|
|
- TZ=America/New_York
|
|
ports:
|
|
- "5003:5690"
|
|
depends_on:
|
|
- redis
|
|
restart: always
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:5690/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
|
|
redis:
|
|
container_name: wizarr_redis
|
|
image: docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8
|
|
healthcheck:
|
|
test: redis-cli ping || exit 1
|
|
restart: unless-stopped |