docker cofig udpated
This commit is contained in:
@ -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
|
||||
Reference in New Issue
Block a user