Remove nextcloud db readiness check

We instead just wait for the db to be up with the usual docker
wait commands. A little more brittle but the old method ceased
to work.
This commit is contained in:
Marty Oehme 2024-04-11 13:06:10 +02:00
parent ff49856107
commit 7fb14b07a8
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -31,7 +31,7 @@ services:
start_period: 5m
# needed for db to be up,
# see https://help.nextcloud.com/t/failed-to-install-nextcloud-with-docker-compose/83681/15
entrypoint: sh -c "while !(nc -z db 5432); do sleep 30; done; /entrypoint.sh php-fpm"
# entrypoint: sh -c "while !(nc -z db 5432); do sleep 30; done; /entrypoint.sh php-fpm"
environment:
- NEXTCLOUD_ADMIN_USER={{ nextcloud_app_admin_username }}
- NEXTCLOUD_ADMIN_PASSWORD={{ nextcloud_app_admin_password }}