docs: compose-beispiel auf image-variante umgestellt
CI / backend-tests (push) Failing after 7s
CI / docker (push) Skipped
Docker images / version (push) Successful in 1s
Docker images / backend (push) Successful in 5s
Docker images / frontend (push) Successful in 4s

This commit is contained in:
loki committed 2026-10-04 12:23:44 +02:00
1 parent 10dc4d8309
commit 06094bfe04
1 file changed
+7 -7
+7 -7
View File
@@ -76,16 +76,12 @@ docker compose -f docker-compose.image.yml pull
docker compose -f docker-compose.image.yml up -d
```
Compose-Auszug (komplett in `docker-compose.yml`):
Compose-Auszug (`docker-compose.image.yml` — fertige Images, kein Bauen):
```yaml
services:
backend:
build:
context: ./backend
args:
UID: ${UID:-1000}
GID: ${GID:-1000}
image: gitea.lokcal.de/loki/streamrip-ui-backend:${APP_IMAGE_TAG:-latest}
ports:
- "${BACKEND_HOST_PORT:-8000}:${BACKEND_PORT:-8000}"
environment:
@@ -96,15 +92,19 @@ services:
- ${CONFIG_DIR:-~/.config/streamrip}:/config
- ${DOWNLOAD_DIR:-~/StreamripDownloads}:/downloads
frontend:
build: ./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
```
(Entwicklungs-Variante mit `build:` steht in `docker-compose.yml`.)
CI (`.gitea/workflows/ci.yml`): Backend-Tests + Docker-Builds beider Images bei jedem Push auf `main`.
## Versionierung (automatisch, CalVer)