Open
Description
Summary:
To setup dev environment as per docs , I tried to use command "docker-compose up --build" and this fails as we are not passing any default credentials to postgress sql container.
- Celery Version: Not used as tested only with celery-beat
- Celery-Beat Version: Master branch
Error log
Successfully built 32fcdb95f544
Successfully tagged django-celery-beat_django:latest
Starting django-celery-beat_base_1 ... done
Starting django-celery-beat_postgres_1 ... done
Starting django-celery-beat_django_1 ... done
Starting django-celery-beat_celery-beat_1 ... done
Attaching to django-celery-beat_postgres_1, django-celery-beat_base_1, django-celery-beat_celery-beat_1, django-celery-beat_django_1
django_1 | # wait-for-it postgres:5432
django_1 | wait-for-it: waiting 15 seconds for postgres:5432
celery-beat_1 | # wait-for-it django:8000
celery-beat_1 | wait-for-it: waiting 15 seconds for django:8000
postgres_1 | Error: Database is uninitialized and superuser password is not specified.
postgres_1 | You must specify POSTGRES_PASSWORD to a non-empty value for the
postgres_1 | superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
postgres_1 |
postgres_1 | You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
postgres_1 | connections without a password. This is *not* recommended.
postgres_1 |
postgres_1 | See PostgreSQL documentation about "trust":
postgres_1 | https://www.postgresql.org/docs/current/auth-trust.html
django-celery-beat_postgres_1 exited with code 1
celery-beat_1 | wait-for-it: timeout occurred after waiting 15 seconds for django:8000
django-celery-beat_celery-beat_1 exited with code 124
django_1 | wait-for-it: timeout occurred after waiting 15 seconds for postgres:5432
django-celery-beat_django_1 exited with code 124
^CGracefully stopping... (press Ctrl+C again to force)
Stopping django-celery-beat_base_1 ... done