36 lines
958 B
YAML
Executable File
36 lines
958 B
YAML
Executable File
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
ports:
|
|
- "3001:3000"
|
|
environment:
|
|
- NODE_ENV=development
|
|
# Wiki URL - kann über .env oder Umgebungsvariable gesetzt werden
|
|
# Standard: http://localhost:3033 (für separate Quartz-Instanz)
|
|
- NEXT_PUBLIC_WIKI_URL=${NEXT_PUBLIC_WIKI_URL:-http://localhost:3033}
|
|
volumes:
|
|
- .:/app
|
|
- /app/node_modules
|
|
- /app/.next
|
|
restart: unless-stopped
|
|
# Wiki-Service ist optional - kann entfernt werden, wenn separate Instanz verwendet wird
|
|
# depends_on:
|
|
# - wiki
|
|
|
|
wiki:
|
|
build:
|
|
context: ./quartz-setup
|
|
dockerfile: Dockerfile
|
|
# Port nicht nach außen exponiert - nur intern über Docker-Netzwerk erreichbar
|
|
expose:
|
|
- "8080"
|
|
volumes:
|
|
- ./wiki-vault:/app/content
|
|
- ./quartz-setup/public:/app/public
|
|
restart: unless-stopped
|
|
environment:
|
|
- QUARTZ_BASE_URL=/wiki
|
|
|