fixed docs site inclusion

This commit is contained in:
Codex Agent
2025-12-02 15:34:10 +01:00
parent dd3198cb79
commit a8ee2153da
3 changed files with 4 additions and 3 deletions

View File

@@ -106,8 +106,8 @@ services:
- traefik.docker.network=dokploy-network - traefik.docker.network=dokploy-network
volumes: volumes:
- app-code:/var/www/html:ro - app-code:/var/www/html:ro
- app-storage:/var/www/html/storage:ro
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro - ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
- ./docs/site/build:/var/www/docs-site:ro
- ./docker/nginx/.htpasswd-docs:/etc/nginx/.htpasswd-docs:ro - ./docker/nginx/.htpasswd-docs:/etc/nginx/.htpasswd-docs:ro
env_file: env_file:
- path: .env - path: .env

View File

@@ -1,2 +1,2 @@
# Default development credentials (docs / changeme). Replace this file in production! # Default development credentials (docs / changeme). Replace this file in production!
docs:$apr1$Mjk6u9Kx$kqsV6eI9Ghd9zR0PcfH4K. docs:$apr1$k78HFdNi$trMRjICSTj5cKRWqJOEcw1

View File

@@ -30,7 +30,8 @@ server {
} }
location /internal-docs/ { location /internal-docs/ {
alias /var/www/docs-site/; # Docusaurus static build lives in app-code volume at /var/www/html/docs/site/build
alias /var/www/html/docs/site/build/;
index index.html; index index.html;
try_files $uri $uri/ /internal-docs/index.html; try_files $uri $uri/ /internal-docs/index.html;