-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
57 lines (50 loc) · 1.87 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
###> symfony/framework-bundle ###
APP_ENV=prod
APP_DEBUG=0
APP_SECRET=8a8bbe2b50414d28742e295f870e470c
###< 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://db_user:[email protected]:3306/db_name?serverVersion=5.7&charset=utf8mb4"
DATABASE_URL="postgresql://dbuser:dbpass@db:5432/egutegia?serverVersion=13&charset=utf8"
#DATABASE_URL="postgresql://symfony:[email protected]:5432/app?serverVersion=13&charset=utf8"
###< doctrine/doctrine-bundle ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^http?://(localhost)?$dcd
###< nelmio/cors-bundle ###
###> REDIS ###
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=pass
###< REDIS ###
###> DOCKER ###
DOCKER_MYSQL_DATABASE=egutegia
DOCKER_MYSQL_PASSWORD=dbpass
DOCKER_MYSQL_USER=dbuser
DOCKER_TIMEZONE="Europe/Madrid"
USER_ID=0
GROUP_ID=0
DEBUGMODE=1
FOSJSDUMP=1
PHP_IDE_CONFIG="serverName=localhost"
###< DOCKER ###
API_ENTRY_POINT="http://localhost/api"
###> symfony/mailer ###
# Mailtrap
# https://mailtrap.io/inboxes/1557502/messages/2508293310
#MAILER_DSN=smtp://1773ae4bcecce3:[email protected]:2525?encryption=tls&auth_mode=login
MAILER_DSN=smtp://mailer:25
#MAILER_DSN=smtp://mailer:1025
###< symfony/mailer ###
###> symfony/webapp-meta ###
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
###< symfony/webapp-meta ###
###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=doctrine://default
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
###< symfony/messenger ###