Agregar script.py y mejorar Dockerfiles con salida unbuffered y healthcheck optimizado
This commit is contained in:
@@ -26,12 +26,12 @@ services:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1",
|
||||
'python -c ''import urllib.request; urllib.request.urlopen("http://localhost:8080")'' || exit 1',
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
retries: 5
|
||||
start_period: 60s
|
||||
labels:
|
||||
- "com.dokploy.project=onedrive"
|
||||
- "com.dokploy.service=engine"
|
||||
|
||||
Reference in New Issue
Block a user