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