docker cofig udpated

This commit is contained in:
govardhan
2025-06-19 20:38:00 +05:30
parent 8bbbaa1ea4
commit bef993ec29
2 changed files with 30 additions and 18 deletions

View File

@ -8,14 +8,14 @@ services:
image: mkdocs-material-prod
ports:
- "8085:80"
environment:
- NGINX_WORKER_PROCESSES=1
- NGINX_WORKER_CONNECTIONS=1024
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ./mkdocs.yml:/docs/mkdocs.yml:ro
- ./docs:/docs/docs:ro
environment:
- PYTHONUNBUFFERED=1
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/"]
test: ["CMD", "curl", "-f", "http://localhost:80/"]
interval: 30s
timeout: 3s
retries: 3