Skip to content

Commit

Permalink
feat: add .env with fake data
Browse files Browse the repository at this point in the history
  • Loading branch information
julienhouyet committed Mar 4, 2024
1 parent 72b88f7 commit 11cba18
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=fake_app_secret
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
DATABASE_URL="mysql://username:password@localhost:3306/db_name?serverVersion=8&charset=utf8"
###< doctrine/doctrine-bundle ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###

0 comments on commit 11cba18

Please # to comment.