mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-02-20 16:11:53 -05:00
35 lines
843 B
YAML
35 lines
843 B
YAML
services:
|
|
backend:
|
|
image: ghcr.io/maxdorninger/mediamanager/backend:latest
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- CONFIG_FILE=/app/config.toml
|
|
volumes:
|
|
- ./data/:/data/
|
|
- ./config.toml:/app/config.toml
|
|
frontend:
|
|
image: ghcr.io/maxdorninger/mediamanager/frontend:latest
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- PUBLIC_API_URL=http://localhost:8000/api/v1
|
|
db:
|
|
image: postgres:latest
|
|
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
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
|