-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
47 lines (38 loc) · 1.51 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
#--------------------------------------------------------------------------------------------------#
# DOCKER VARIABLES #
#--------------------------------------------------------------------------------------------------#
APP_VERSION=v1.1.0
IMAGE=doi2pmh
REPOSITORY=${REPOSITORY}
APP_DNS=app.localtest.me
APP_PROTOCOL=https://
APP_SECRET=${APP_SECRET:-3831a99b08afd28b3d52f660d0b5a193}
# Database credentials
MYSQL_ROOT_PASSWORD=doi2pmh
MYSQL_HOST=database
MYSQL_DATABASE=doi2pmh
MYSQL_USER=doi2pmh
MYSQL_PASSWORD=doi2pmh
DB_NAME=${MYSQL_DATABASE}
DB_USER=${MYSQL_USER}
DB_HOST=${MYSQL_HOST}
DB_PASSWORD=${MYSQL_PASSWORD}
PROJECT_NAME=Doi2pmh
## Env variables - /!\ must be set to 'prod' for production environment /!\
APP_ENV=dev
NODE_ENV=dev
# SMTP credentials for emails
MAILER_DSN=smtp://mailhog:1025
# CAS configuration
ENABLE_CAS=false
# If ENABLED_CAS=true, uncomment the following lines
#CAS_HOST=${CAS_HOST}
#CAS_VERSION=${CAS_VERSION}
#CAS_URI=${CAS_URI}
#CAS_PORT=${CAS_PORT}
# CORS Allow Origin policy - see https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/4-cors-requests.html
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
# LexikJWTAuthenticationBundle keys - https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/index.html#generate-the-ssl-keys
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=${JWT_PASSPHRASE}