Skip to content

Commit

Permalink
fix: DATABASE_URL not found
Browse files Browse the repository at this point in the history
  • Loading branch information
plduthoit committed Sep 3, 2024
1 parent 93373b5 commit 26384fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ up:
$(DOCKER_COMP) --env-file .env --env-file .env.local up --build -d --remove-orphans

deploy:
$(DOCKER_COMP) --env-file .env --env-file .env.prod --env-file .env.local up --build -d --remove-orphans
$(DOCKER_COMP) --env-file .env --env-file .env.prod --env-file .env.local up --build --wait -d --remove-orphans

down:
$(DOCKER_COMP) down
Expand Down
2 changes: 1 addition & 1 deletion symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN set -eux; \
;

# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser
ENV COMPOSER_ALLOW_SUPERUSER=1
ENV COMPOSER_ALLOW_SUPERUSER=1 DATABASE_URL=$DATABASE_URL

COPY --link docker/frankenphp/conf.d/app.ini $PHP_INI_DIR/conf.d/
COPY --link --chmod=755 docker/frankenphp/docker-entrypoint.sh /usr/local/bin/docker-entrypoint
Expand Down

0 comments on commit 26384fe

Please sign in to comment.