Update docker-compose.yml

This commit is contained in:
Stefan Pejcic 2024-06-14 01:23:10 +02:00 committed by GitHub
parent 6b4c5aa2ca
commit a5b25d807e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,6 +95,11 @@ services:
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/"]
interval: 30s
timeout: 10s
retries: 3
volumes: volumes:
- /etc/openpanel/nginx/nginx.conf:/etc/nginx/nginx.conf - /etc/openpanel/nginx/nginx.conf:/etc/nginx/nginx.conf
- /etc/openpanel/nginx/vhosts/default.conf:/etc/nginx/sites-available/default - /etc/openpanel/nginx/vhosts/default.conf:/etc/nginx/sites-available/default