6 changed files with 6 additions and 47 deletions
-10
View File
@@ -18,16 +18,6 @@ services:
bind:
propagation: rslave
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:
SITE_OWNER: ${SITE_OWNER}
DB_CONNECTION: ${DB_CONNECTION}
+5 -5
View File
@@ -35,12 +35,12 @@ services:
REDIS_DBINDEX: ${REDIS_DBINDEX}
TZ: ${TZ}
UPLOAD_LOCATION: ${UPLOAD_LOCATION}
restart: always
restart: unless-stopped
healthcheck:
test:
[
"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
timeout: 15s
@@ -60,7 +60,7 @@ services:
REDIS_HOSTNAME: ${REDIS_HOSTNAME}
REDIS_PORT: ${REDIS_PORT}
REDIS_DBINDEX: ${REDIS_DBINDEX}
restart: always
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3003/ping"]
interval: 30s
@@ -81,7 +81,7 @@ services:
interval: 10s
timeout: 5s
retries: 5
restart: always
restart: unless-stopped
immich-database:
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
@@ -118,7 +118,7 @@ services:
'-c',
'wal_compression=on',
]
restart: always
restart: unless-stopped
networks:
dokploy-network:
-10
View File
@@ -15,16 +15,6 @@ services:
bind:
propagation: rslave
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:
PUID: 1000
PGID: 1000
-10
View File
@@ -19,16 +19,6 @@ services:
bind:
propagation: rslave
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:
- NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_DOMAIN}
- MYSQL_HOST=nextcloud_db
+1 -1
View File
@@ -53,7 +53,7 @@ services:
test:
[
"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
timeout: 15s
-11
View File
@@ -101,14 +101,3 @@ services:
- /opt/rclone/ssh:/root/.ssh:ro
- /opt/media/storagebox:/data:rshared
- ./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