-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.dist
97 lines (83 loc) · 2.73 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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
##### All variables described in envs.md
# App configuration
#############################
## Required variables
#### Access to admin panel (route: {app_domain}/admin)
#### Create an user - 'php bin/console fos:user'
#### Promote a user by adding a role - 'php bin/console fos:user:promote matthieu ROLE_ADMIN'
#### Data Base Configuration (postres version 9.6)
DATABASE_HOST=db
DATABASE_DRIVER=pgsql
POSTGRES_DB=dev
POSTGRES_USER=dev
POSTGRES_PASSWORD=dev
DATABASE_URL=${DATABASE_DRIVER}://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${POSTGRES_DB}
#### RabbitMQ version 3.7.14
RABBITMQ_HOST=rabbitmq
RABBITMQ_DEFAULT_USER=rabbitmq
RABBITMQ_DEFAULT_PASS=rabbitmq
RABBITMQ_IDLE_TIMEOUT=30
#### Run docker build under a current user
#UID=1001
#### App environment
APP_ENV=dev
OAUTH_ALLOWED_DOMAINS=example.com,gmail.com
APP_SECRET=
BACKUP_CODE_SALT=
INVITATION_SALT=
JWT_PASSPHRASE=
CORS_ALLOW_ORIGIN=*
#### Google Authentication (OAuth2)
GOOGLE_ID=
GOOGLE_SECRET=
ALLOW_FRONT_REDIRECT_PATTERN='/^http[s]*:\/\/(example.com|example2.com)/'
#### Email System
MAILER_URL=null://localhost
MAILER_TRANSPORT=smtp
MAILER_HOST=
MAILER_PORT=
MAILER_USER=
MAILER_PASSWORD=
#############################
## Optional variables
#### App environment
#APP_NAME='Caesar App'
BACKUP_CODE_HASH_LENGTH=10
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS=localhost,example.com
#DELIVERY_ADDRESS=
#DB_VERSION=9.6
#WEB_CLIENT_URL=
#JWT_PUBLIC_KEY=var/jwt/private.pem=
#JWT_SECRET_KEY=var/jwt/private.pem=
#### When registering, a user with such an email will be assigned as admin
DOMAIN_ADMIN_EMAIL=
#### Redis version 5.0.4
REDIS_HOST=redis
REDIS_PORT=6379
#### Test Data Base Configuration
#TEST_POSTGRES_DB=test
#TEST_DATABASE_HOST=db_test
#TEST_POSTGRES_USER=test
#TEST_POSTGRES_PASSWORD=test
#TEST_DATABASE_PORT=6432
#TEST_DATABASE_URL=${DATABASE_DRIVER}://${TEST_POSTGRES_USER}:${TEST_POSTGRES_PASSWORD}@${TEST_DATABASE_HOST}:5432/${TEST_POSTGRES_DB}
## DevPresets
SERVER_HTTP_PORT=80
DATABASE_PORT=5432
#### Json RPC
JSON_RPC_SECRET=
# Two weeks in seconds
FINGERPRINT_LIFETIME=1209600
###> symfony/messenger ###
MESSENGER_TRANSPORT_DSN=amqp://${RABBITMQ_DEFAULT_USER}:${RABBITMQ_DEFAULT_PASS}@${RABBITMQ_HOST}:5672/%2f/messages?connection_timeout=1&lazy=true
###< symfony/messenger ###
###> symfony/mercure-bundle ###
MERCURE_EXTERNAL_PORT=3000
## See https://symfony.com/doc/current/mercure.html#configuration
MERCURE_PUBLISH_URL=http://mercure/.well-known/mercure
# The default token is signed with the secret key: !ChangeMe!
MERCURE_JWT_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0
MERCURE_JWT_SECRET=!ChangeMe!
###< symfony/mercure-bundle ###