This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
55 lines (49 loc) · 2.29 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
# 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.
#
# 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=prod
APP_SECRET=90b8b29bdd1babbcaafde6a1e2b7b15b
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS='^localhost|example\.com$'
###< 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
#
DB_HOST=dbmysql
DB_PORT=3306
DB_NAME=poc-messenger
DB_USER=local
DB_PASS=local
DATABASE_URL=mysql://${DB_USER}:${DB_PASS}@${DB_HOST}:${DB_PORT}/${DB_NAME}?serverVersion=8.2.0
###< doctrine/doctrine-bundle ###
###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
# MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
MESSENGER_TRANSPORT_DSN=amqp://guest:guest@rabbitmq:5672/%2f/messages
###< symfony/messenger ###
###> symfony/mailer ###
MAILER_DSN=smtp://mailer:1025
MAILER_FROM=mailer+noreply@sfdemo.fr
MAILER_ADMIN=admin@sfdemo.fr
###< symfony/mailer ###
###> Docker compose ###
COMPOSE_PATH_SEPARATOR=,
COMPOSE_PROJECT_NAME=poc_messenger
COMPOSE_FILE=.docker/compose/base.yml,.docker/compose/base-dev.yml,.docker/compose/phpmyadmin.yml,.docker/compose/maildev.yml,.docker/compose/rabbitmq.yml
# [COMPOSE_FILE] You can add ,.docker/compose/custom.yml for customize your local install
# COMPOSER_HOME=/home/$user/.cache/composer/ # You can set your composer folder, change $user by your username
###< Docker compose ###