docs: compose-beispiel auf image-variante umgestellt
This commit is contained in:
1 parent
10dc4d8309
commit
06094bfe04
1 file changed
+7
-7
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user