diff --git a/.env b/.env new file mode 100644 index 0000000..81193ef --- /dev/null +++ b/.env @@ -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" diff --git a/dockerfiles/Dockerfile.seeder b/dockerfiles/Dockerfile.seeder index 55c47b6..c805a65 100644 --- a/dockerfiles/Dockerfile.seeder +++ b/dockerfiles/Dockerfile.seeder @@ -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"] diff --git a/etc/entrypoint.sh b/etc/entrypoint.sh index 46539f5..2b236b0 100755 --- a/etc/entrypoint.sh +++ b/etc/entrypoint.sh @@ -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