-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.env.dist
29 lines (25 loc) · 1.39 KB
/
.env.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This file is a "template" of which env vars need to be defined for your application
# Copy this file to .env file for development, create environment variables when deploying to production
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
###> symfony/framework-bundle ###
APP_ENV=dev
APP_DEBUG=1
APP_SECRET=0a4f68d47f8d7020d43986c93dd7d3e2
###< symfony/framework-bundle ###
###> doctrine/doctrine-bundle ###
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# Configure your db driver and server_version in config/packages/doctrine.yaml
DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/main.db
FIXTURES_DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/fixtures.db
###< doctrine/doctrine-bundle ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://localhost:?[0-9]*$
###< nelmio/cors-bundle ###
###> lexik/jwt-authentication-bundle ###
# Key paths should be relative to the project directory
# Take care sometime %kernel.project_dir% will cause JWT token generation failure, so you may need to remove them
JWT_PRIVATE_KEY_PATH=config/jwt/private.pem
JWT_PUBLIC_KEY_PATH=config/jwt/public.pem
JWT_PASSPHRASE=77bb2a2d3f7dfdc1b5bd9b7b7f20b8c2
###< lexik/jwt-authentication-bundle ###