Initial: Tibi-Doku auf Starlight-Basis (Nova-Theme, Docker-Stack, Sync-Skripte)
This commit is contained in:
commit
58502aa3c8
78 files changed
+22860
No files matched your search
@@ -0,0 +1,32 @@
|
||||
name: ${PROJECT_NAME}
|
||||
|
||||
services:
|
||||
docs:
|
||||
profiles:
|
||||
- docs
|
||||
image: node:20
|
||||
volumes:
|
||||
- ./:/data
|
||||
- ./tmp:/tmp
|
||||
- ./tmp/nonexistent:/nonexistent
|
||||
- ./tmp/.npm:/.npm
|
||||
working_dir: /data
|
||||
command: sh -c "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:20
|
||||
volumes:
|
||||
- ./:/data
|
||||
- ./tmp:/tmp
|
||||
working_dir: /data
|
||||
command: sh -c "npm install && npm run build"
|
||||
user: ${CODER_UID}:${CODER_GID}
|
||||
Reference in new issue
Block a user