Korrektur
This commit is contained in:
parent
3baabb220a
commit
44e1d60078
|
|
@ -1,6 +1,7 @@
|
|||
# compose-cloud.yml
|
||||
# https://git.bizmark.cloud/marc/bizMark.git
|
||||
services:
|
||||
# NEXTCLOUD
|
||||
nextcloud:
|
||||
image: lscr.io/linuxserver/nextcloud:latest
|
||||
container_name: nextcloud
|
||||
|
|
@ -27,12 +28,7 @@ services:
|
|||
- /home/marc/nextcloud/data:/data
|
||||
- /home/marc/homepage/config:/mnt/homepage/config
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:80 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
# MARIA DB
|
||||
db:
|
||||
image: mariadb:11
|
||||
container_name: nextcloud-db
|
||||
|
|
@ -46,20 +42,9 @@ services:
|
|||
volumes:
|
||||
- /home/marc/nextcloud/db:/var/lib/mysql
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-u", "root", "-pStr0ng-Nextcloud-DB-Root-Pass"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
|
||||
# REDIS
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: nextcloud-redis
|
||||
command: ["redis-server", "--requirepass", "Str0ng-Redis-Pass"]
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "-a", "Str0ng-Redis-Pass", "ping"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
Loading…
Reference in New Issue