mirror of
https://github.com/JG2401/HetznerDokployLab.git
synced 2026-10-28 21:00:47 +00:00
removed healthchecks because of endless restart problem
This commit is contained in:
@@ -18,16 +18,6 @@ services:
|
|||||||
bind:
|
bind:
|
||||||
propagation: rslave
|
propagation: rslave
|
||||||
create_host_path: false
|
create_host_path: false
|
||||||
healthcheck:
|
|
||||||
test:
|
|
||||||
[
|
|
||||||
"CMD-SHELL",
|
|
||||||
"timeout 10 ls /var/www/html/storage/upload >/dev/null 2>&1 || exit 1"
|
|
||||||
]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 15s
|
|
||||||
retries: 3
|
|
||||||
start_period: 60s
|
|
||||||
environment:
|
environment:
|
||||||
SITE_OWNER: ${SITE_OWNER}
|
SITE_OWNER: ${SITE_OWNER}
|
||||||
DB_CONNECTION: ${DB_CONNECTION}
|
DB_CONNECTION: ${DB_CONNECTION}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ services:
|
|||||||
test:
|
test:
|
||||||
[
|
[
|
||||||
"CMD-SHELL",
|
"CMD-SHELL",
|
||||||
"curl -f http://localhost:2283/api/server/ping >/dev/null 2>&1 && timeout 10 ls /usr/src/app/upload >/dev/null 2>&1 || exit 1"
|
"curl -f http://localhost:2283/api/server/ping >/dev/null 2>&1"
|
||||||
]
|
]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 15s
|
timeout: 15s
|
||||||
|
|||||||
@@ -15,16 +15,6 @@ services:
|
|||||||
bind:
|
bind:
|
||||||
propagation: rslave
|
propagation: rslave
|
||||||
create_host_path: false
|
create_host_path: false
|
||||||
healthcheck:
|
|
||||||
test:
|
|
||||||
[
|
|
||||||
"CMD-SHELL",
|
|
||||||
"timeout 10 ls /app/data >/dev/null 2>&1 || exit 1"
|
|
||||||
]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 15s
|
|
||||||
retries: 3
|
|
||||||
start_period: 60s
|
|
||||||
environment:
|
environment:
|
||||||
PUID: 1000
|
PUID: 1000
|
||||||
PGID: 1000
|
PGID: 1000
|
||||||
|
|||||||
@@ -19,16 +19,6 @@ services:
|
|||||||
bind:
|
bind:
|
||||||
propagation: rslave
|
propagation: rslave
|
||||||
create_host_path: false
|
create_host_path: false
|
||||||
healthcheck:
|
|
||||||
test:
|
|
||||||
[
|
|
||||||
"CMD-SHELL",
|
|
||||||
"timeout 10 ls /mnt/storagebox >/dev/null 2>&1 || exit 1"
|
|
||||||
]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 15s
|
|
||||||
retries: 3
|
|
||||||
start_period: 60s
|
|
||||||
environment:
|
environment:
|
||||||
- NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_DOMAIN}
|
- NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_DOMAIN}
|
||||||
- MYSQL_HOST=nextcloud_db
|
- MYSQL_HOST=nextcloud_db
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ services:
|
|||||||
test:
|
test:
|
||||||
[
|
[
|
||||||
"CMD-SHELL",
|
"CMD-SHELL",
|
||||||
"curl -f http://localhost:8000 >/dev/null 2>&1 && timeout 10 ls /usr/src/paperless/consume >/dev/null 2>&1 || exit 1"
|
"curl -f http://localhost:8000 >/dev/null 2>&1"
|
||||||
]
|
]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 15s
|
timeout: 15s
|
||||||
|
|||||||
@@ -101,14 +101,3 @@ services:
|
|||||||
- /opt/rclone/ssh:/root/.ssh:ro
|
- /opt/rclone/ssh:/root/.ssh:ro
|
||||||
- /opt/media/storagebox:/data:rshared
|
- /opt/media/storagebox:/data:rshared
|
||||||
- ./logs/storagebox:/logs
|
- ./logs/storagebox:/logs
|
||||||
|
|
||||||
healthcheck:
|
|
||||||
test:
|
|
||||||
[
|
|
||||||
"CMD-SHELL",
|
|
||||||
"timeout 10 ls /data >/dev/null 2>&1 || exit 1"
|
|
||||||
]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 15s
|
|
||||||
retries: 3
|
|
||||||
start_period: 60s
|
|
||||||
|
|||||||
Reference in New Issue
Block a user