-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env
executable file
·68 lines (61 loc) · 2.72 KB
/
.env
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# In all environments, the following files are loaded if they exist,
# the later taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=MYAPPSECRET
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS='^localhost|example\.com$'
###< 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_HOST=127.0.0.1
DATABASE_PORT=3306
DATABASE_NAME=symfony_skeleton
DATABASE_USER=root
DATABASE_PASSWORD=
DATABASE_URL=mysql://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}
###< doctrine/doctrine-bundle ###
###> symfony/swiftmailer-bundle ###
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=smtp://localhost:1025
MAILER_FROM_NAME='Symfony Skeleton'
###< symfony/swiftmailer-bundle ###
###> google/recaptcha ###
GOOGLE_RECAPTCHA_SITE_KEY=MYCAPTCHAKEY
GOOGLE_RECAPTCHA_SECRET=MYCAPTCHASECRET
###< google/recaptcha ###
###> domain ###
# Add your subdomains here. ex: admin.jul6art-symfony-skeleton.localhost
# So you can select routes or controllers depending on the host
HTTP_PROTOCOL=http://
CURRENT_DOMAIN=symfony-skeleton.localhost
CURRENT_COOKIE_DOMAIN=.${CURRENT_DOMAIN}
###< domain ###
###> symfony/messenger ###
MESSENGER_TRANSPORT_DSN=doctrine://default
###< symfony/messenger ###
###> symfony/mercure-bundle ###
# See https://symfony.com/doc/current/mercure.html#configuration
MERCURE_PUBLISH_URL=http://localhost:3000/.well-known/mercure
# The default token is signed with the secret key: MYMERCURESECRET
MERCURE_JWT_TOKEN=MYMERCURESIGNATURETOKEN
MERCURE_JWT_KEY=MYMERCURESECRET
###< symfony/mercure-bundle ###