fix(api): postgres connection details in docker setup

We properly recognize the docker setup to generate DATABASE_URL configuration.

Fix #2036

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2326>
This commit is contained in:
jo 2023-01-20 18:03:46 +01:00 committed by Georg Krause
commit c07aa0dbec
3 changed files with 13 additions and 11 deletions

View file

@ -111,5 +111,6 @@ RUN set -eux; \
ENV CACHE_URL="redis://redis:6379/0"
ENV CELERY_BROKER_URL="redis://redis:6379/0"
ENV IS_DOCKER_SETUP=true
CMD ["./docker/server.sh"]