26 lines
1.0 KiB
YAML
26 lines
1.0 KiB
YAML
# Variante mit fertigen Images aus der Gitea-Registry (kein Bauen nötig).
|
|
# Start: docker compose -f docker-compose.image.yml pull && docker compose -f docker-compose.image.yml up -d
|
|
# Version pinnen per APP_IMAGE_TAG (z. B. 2026.10.04.5), Default: latest.
|
|
services:
|
|
backend:
|
|
image: gitea.lokcal.de/loki/streamrip-ui-backend:${APP_IMAGE_TAG:-latest}
|
|
ports:
|
|
- "${BACKEND_HOST_PORT:-8000}:${BACKEND_PORT:-8000}"
|
|
environment:
|
|
- STREAMRIP_CONFIG=/config/config.toml
|
|
- STREAMRIP_DOWNLOAD_DIR=/downloads
|
|
- BACKEND_PORT=${BACKEND_PORT:-8000}
|
|
volumes:
|
|
- ${CONFIG_DIR:-~/.config/streamrip}:/config
|
|
- ${DOWNLOAD_DIR:-~/StreamripDownloads}:/downloads
|
|
frontend:
|
|
image: gitea.lokcal.de/loki/streamrip-ui-frontend:${APP_IMAGE_TAG:-latest}
|
|
ports:
|
|
- "${FRONTEND_HOST_PORT:-3002}:${FRONTEND_PORT:-3000}"
|
|
environment:
|
|
- BACKEND_URL=http://backend:${BACKEND_PORT:-8000}
|
|
- HOSTNAME=0.0.0.0
|
|
- PORT=${FRONTEND_PORT:-3000}
|
|
depends_on:
|
|
- backend
|