Agregar script.py y mejorar Dockerfiles con salida unbuffered y healthcheck optimizado

This commit is contained in:
2025-12-07 14:33:26 -05:00
parent e69d2414b9
commit aecf2b4466
5 changed files with 236 additions and 7 deletions

View File

@@ -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"