Skip to content

Commit

Permalink
Merge pull request #659 from pelican-dev/issue/629
Browse files Browse the repository at this point in the history
Make sure the .env can be accessed by the webserver when running Docker
  • Loading branch information
parkervcp authored Oct 24, 2024
2 parents c53ef78 + 3933222 commit 308601e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ fi

mkdir /pelican-data/database
ln -s /pelican-data/.env /var/www/html/
chown -h www-data:www-data /var/www/html/.env
ln -s /pelican-data/database/database.sqlite /var/www/html/database/

if ! grep -q "APP_KEY=" .env || grep -q "APP_KEY=$" .env; then
Expand Down

0 comments on commit 308601e

Please sign in to comment.