forked from maxdorninger/MediaManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
31 lines (31 loc) · 938 Bytes
/
docker-compose.yaml
File metadata and controls
31 lines (31 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
mediamanager:
image: ghcr.io/maxdorninger/mediamanager/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:
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