let app container wait for db init

This commit is contained in:
2022-10-13 16:58:10 +02:00
parent 2be42d0a84
commit 0aabef8f7b
3 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,6 @@ version: '3.8'
services:
app:
entrypoint: "sh -c 'sleep 10 && /entrypoint.sh php-fpm'" # tries to mitigate this error with postgres https://github.com/nextcloud/docker/issues/1204
environment:
- POSTGRES_HOST=db
- POSTGRES_DB=nextcloud