Skip to content

Commit

Permalink
Merge pull request #22 from NIAEFEUP/chore/add-env-file
Browse files Browse the repository at this point in the history
chore: add .env file
  • Loading branch information
limwa authored Jul 29, 2024
2 parents 10d2a33 + 06960fe commit 958635b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
APP_NAME=ENEI
APP_KEY=base64:O8e0ShbVWB3OAAFGbSUweWr1JM3xutu1isYLKLk4mqU=
APP_DEBUG=true
APP_URL=http://localhost

LOCALE=pt
FAKER_LOCALE=pt_PT

DB_CONNECTION=pgsql
DB_HOST=pgsql
DB_PORT=5432
DB_DATABASE=postgres
DB_PASSWORD=postgres
DB_USERNAME=postgres

SCOUT_QUEUE=true
SCOUT_DRIVER=meilisearch
MEILISEARCH_HOST=http://meilisearch:3331
MEILISEARCH_KEY=my-master-key

MEILISEARCH_NO_ANALYTICS=false

LOG_CHANNEL="eneiWebsite"
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.seeder
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ RUN [ -z "${LARAVEL_ENV_FILE_KEY}" ] || ( mv .env.${LARAVEL_ENV} .env.${LARAVEL_
COPY public/ ./public/
COPY storage/ ./storage/

CMD [ "php", "artisan", "migrate", "-n"]
CMD [ "php", "artisan", "migrate", "-n", "--seed"]
1 change: 0 additions & 1 deletion etc/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ set -e

# Cache config and other stuff
php artisan optimize -n
rm .env.${LARAVEL_ENV}*

/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf

0 comments on commit 958635b

Please sign in to comment.