diff --git a/docker-compose.dokploy.yml b/docker-compose.dokploy.yml index 6258f3c..140bd91 100644 --- a/docker-compose.dokploy.yml +++ b/docker-compose.dokploy.yml @@ -106,8 +106,8 @@ services: - traefik.docker.network=dokploy-network volumes: - app-code:/var/www/html:ro + - app-storage:/var/www/html/storage: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 env_file: - path: .env diff --git a/docker/nginx/.htpasswd-docs b/docker/nginx/.htpasswd-docs index 0a837bf..7bbaaf6 100644 --- a/docker/nginx/.htpasswd-docs +++ b/docker/nginx/.htpasswd-docs @@ -1,2 +1,2 @@ # Default development credentials (docs / changeme). Replace this file in production! -docs:$apr1$Mjk6u9Kx$kqsV6eI9Ghd9zR0PcfH4K. +docs:$apr1$k78HFdNi$trMRjICSTj5cKRWqJOEcw1 diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf index 957cfe8..b8abbd0 100644 --- a/docker/nginx/default.conf +++ b/docker/nginx/default.conf @@ -30,7 +30,8 @@ server { } 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; try_files $uri $uri/ /internal-docs/index.html;