Files
MediaManager/docker-compose.yaml
Maximilian Dorninger 1b2d99922c Switch to quay and add docker image documentation (#356)
This PR changes all mentions of GHCR to Quay, adds docs about the
registries MM is available on, adds docs about the available docker
image tags, and adds the GHCR permission issue to the troubleshooting
page.
2026-01-05 17:14:32 +01:00

34 lines
1007 B
YAML

services:
mediamanager:
container_name: mediamanager_server
image: quay.io/maxdorninger/mediamanager:latest
ports:
- "8000:8000"
environment:
- CONFIG_DIR=/app/config
volumes:
# Mount your actual media directories here - these paths should match your config.toml
- ./data/:/data/ # Example: change ./data/ to your actual media root
# Config folder for application configuration
- ./config/:/app/config/
# Image folder
- ./images/:/data/images/
depends_on:
db:
condition: service_healthy
db:
container_name: mediamanager_postgres
image: postgres:17
restart: unless-stopped
volumes:
- ./postgres:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
interval: 10s
timeout: 5s
retries: 5
environment:
POSTGRES_USER: MediaManager
POSTGRES_DB: MediaManager
POSTGRES_PASSWORD: MediaManager