-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env
78 lines (67 loc) · 2.95 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
69
70
71
72
73
74
75
76
77
78
# In all environments, the following files are loaded if they exist,
# the latter 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.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=ce96cdd073c54b1cc10a2090b0e83f39
###< 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="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
# DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
DATABASE_URL="mysql://root:!ChangeMe!@127.0.0.1:3306/aln?serverVersion=10.11.4-MariaDB&charset=utf8mb4"
###< doctrine/doctrine-bundle ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###
# How much time before a non-responding
# feeder will provoke an http timeout
FEEDER_RESPONSE_TIMEOUT=5.0
# RabbitMQ settings that'll be used for
# the API to communicate with the
# Websocket server
RABBITMQ_HOST=127.0.0.1
RABBITMQ_PORT=5672
RABBITMQ_USERNAME=guest
RABBITMQ_PASSWORD=guest
# Websocket port that the Feeder should connect to
# You can keep defaults values if you're not sure what you're doing
WEBSOCKET_PORT=9999
# ---
# IF YOU LET AUTHENTICATION_ENABLED TO FALSE
# NO AUTHENTICATION MECANISM WILL BE ENFORCED
# THIS IS PERFECT FOR A LOCAL NETWORK DEPLOYMENT
# THEREFORE IT'S NOT RECOMMENDED FOR WEB DEPLOYMENT.
AUTHENTICATION_ENABLED=false
# ---
# EVERY ENV VAR BELOW THIS LINE ARE ONLY USEFUL
# TO OVERRIDE WHEN AUTHENTICATION IS ENABLED.
# ---
###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=fb5d893ea421b457f7c608807d5a5434
JWT_TTL=3600
###< lexik/jwt-authentication-bundle ###
###> symfony/mailer ###
MAILER_DSN=null://null
###< symfony/mailer ###
# TO CONFIGURE RESET PASSWORD MAILS
SITE_NAME='Feed my pet'
SITE_BASE_URL=https://example.com
EMAIL_SENDER=no-reply@example.com