fixed docs site inclusion
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user