Deploy tibi-docs / build-and-deploy (push) Failing after 38s
- Einstieg: Schnellstart + Neues Projekt aus Starter-Skill, Was-ist-Tibi mit Backend/Website-Trennung - Projekt: Sammlungen, Felder, Abfragen, Rechte, Hooks, Dateien, i18n, Suche, SSR, Pagebuilder, Jobs, Audit, Deploy, LLM, MCP - Hook-Referenz: 66 Symbole mit Signatur + Beispiel + Fehlerfall (5 Kapitel) - Admin: Ansichten, Editor, Medien, Exporte, Aktionen, Rechte, KI, Setup, Customizing - Anwender: 11 Anleitungen im professionellen Du-Ton, 30 Corporate-Screenshots - Referenz: Schemas, Token-Köpfe, Fehlerbilder, Shortcuts, OpenAPI-Platzhalter - ADR-0001 bis 0003, Coverage-Skript (282 Items) + Map, Plan-Dateien
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: ${PROJECT_NAME}
|
|
|
|
services:
|
|
docs:
|
|
profiles:
|
|
- docs
|
|
image: node:22
|
|
volumes:
|
|
- ./:/data
|
|
- ./tmp:/tmp
|
|
- ./tmp/nonexistent:/nonexistent
|
|
- ./tmp/.npm:/.npm
|
|
working_dir: /data
|
|
environment:
|
|
HOME: /tmp
|
|
XDG_CONFIG_HOME: /tmp/.config
|
|
XDG_CACHE_HOME: /tmp/.cache
|
|
ASTRO_TELEMETRY_DISABLED: "1"
|
|
command: sh -c "rm -f .astro/dev.json && npm install && npm run dev -- --host 0.0.0.0 --port 4321"
|
|
expose:
|
|
- 4321
|
|
labels:
|
|
- traefik.enable=true
|
|
- online.testversion.code.subdomain=${PROJECT_NAME}
|
|
- traefik.http.services.${PROJECT_NAME}-docs.loadbalancer.server.port=4321
|
|
user: ${CODER_UID}:${CODER_GID}
|
|
|
|
docs-build:
|
|
profiles:
|
|
- build
|
|
image: node:22
|
|
volumes:
|
|
- ./:/data
|
|
- ./tmp:/tmp
|
|
working_dir: /data
|
|
command: sh -c "npm install && npm run build"
|
|
user: ${CODER_UID}:${CODER_GID}
|