forked from os2display/os2display-docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
95 lines (74 loc) · 2.72 KB
/
.env.example
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
COMPOSE_PROJECT_NAME=os2display
COMPOSE_SERVER_DOMAIN=DOMAIN
COMPOSE_ADMIN_CLIENT_PATH=/admin
COMPOSE_SCREEN_CLIENT_PATH=/screen
COMPOSE_VERSION=latest
##### api [itkdev/os2display-api-service] #####
###> php ###
PHP_MAX_EXECUTION_TIME=30
PHP_MEMORY_LIMIT=128M
PHP_POST_MAX_SIZE=140M
PHP_UPLOAD_MAX_FILESIZE=128M
###< php ###
###> App ###
APP_DEFAULT_DATE_FORMAT='Y-m-d\TH:i:s.v\Z'
###< App ###
###> symfony/framework-bundle ###
APP_ENV=prod
APP_SECRET=SECRET
APP_TRUSTED_PROXIES=127.0.0.1,REMOTE_ADDR
###< 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://db:db@mariadb:3306/db?serverVersion=mariadb-10.5.13"
APP_DATABASE_URL="DSN"
###< doctrine/doctrine-bundle ###
###> nelmio/cors-bundle ###
#CORS_ALLOW_ORIGIN='^https?://(localhost127\.0\.0\.1)(:[0-9]+)?$'
#APP_CORS_ALLOW_ORIGIN='^https?://(localhost127\.0\.0\.1)(:[0-9]+)?$'
# Add allowed urls to .env.local as regex.
# For development use:
CORS_ALLOW_ORIGIN="*"
APP_CORS_ALLOW_ORIGIN="*"
###< nelmio/cors-bundle ###
###> lexik/jwt-authentication-bundle ###
APP_JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
APP_JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
APP_JWT_PASSPHRASE=JWT_PASSPHRASE
APP_JWT_TOKEN_TTL=3600
###< lexik/jwt-authentication-bundle ###
###> gesdinet/jwt-refresh-token-bundle ###
APP_JWT_REFRESH_TOKEN_TTL=2592000
###< gesdinet/jwt-refresh-token-bundle ###
###> itk-dev/openid-connect-bundle ###
# "admin" open id connect configuration variables (values provided by the OIDC IdP)
OIDC_METADATA_URL=ADMIN_APP_METADATA_URL
OIDC_CLIENT_ID=ADMIN_APP_CLIENT_ID
OIDC_CLIENT_SECRET=ADMIN_APP_CLIENT_SECRET
OIDC_REDIRECT_URI=ADMIN_APP_REDIRECT_URI
OIDC_LEEWAY=30
APP_CLI_REDIRECT=ADMIN_CLI_REDIRECT_URI
###< itk-dev/openid-connect-bundle ###
###> redis ###
APP_REDIS_CACHE_PREFIX=DisplayApiService
APP_REDIS_CACHE_DSN=redis://redis:6379/0
###< redis ###
##### nginx-api [itkdev/os2display-api-service-nginx] #####
NGINX_FPM_UPLOAD_MAX=140M
##### admin [itkdev/os2display-admin-client] #####
API_PATH="https://DOMAIN/"
APP_TOUCH_BUTTON_REGIONS=true
##### client [itkdev/os2display-client] #####
APP_API_PATH="https://DOMAIN/"
APP_API_AUTHENTICATION_ENDPOINT="https://DOMAIN/v1/authentication/screen"
APP_API_AUTHENTICATION_REFRESH_ENDPOINT="https://DOMAIN/v1/authentication/token/refresh"
APP_DATA_PULL_INTERVAL=90000
APP_SCHEDULING_INTERVAL=60000
APP_DEBUG=false
##### mariadb
MARIADB_USER=DB_USER
MARIADB_PASSWORD=DB_PASS
MARIADB_ROOT_PASSWORD=DB_ROOT_PASS
MARIADB_DATABASE=DB_NAME
DB_HOST=mariadb