✨: add koillection
This commit is contained in:
44
roles/koillection/templates/env.j2
Normal file
44
roles/koillection/templates/env.j2
Normal file
@@ -0,0 +1,44 @@
|
||||
########################################################################################################
|
||||
# WEB
|
||||
#
|
||||
# APP_DEBUG=1 displays detailed error message
|
||||
#
|
||||
# APP_SECRET is a random string used for security, you can use for example openssl rand -base64 21
|
||||
# APP_SECRET is automatically generated when using Docker
|
||||
#
|
||||
# PHP_TZ, see possible values here https://www.w3schools.com/php/php_ref_timezones.asp
|
||||
########################################################################################################
|
||||
|
||||
APP_DEBUG=0
|
||||
APP_ENV=prod
|
||||
APP_SECRET={{ koillection_app_secret }}
|
||||
|
||||
HTTPS_ENABLED=1
|
||||
UPLOAD_MAX_FILESIZE=20M
|
||||
PHP_MEMORY_LIMIT=512M
|
||||
PHP_TZ=Europe/Paris
|
||||
|
||||
########################################################################################################
|
||||
# API
|
||||
#
|
||||
#
|
||||
# JWT_PASSPHRASE is a random string used for security, you can use for example openssl rand -base64 21
|
||||
# JWT_PASSPHRASE is automatically generated when using Docker
|
||||
########################################################################################################
|
||||
|
||||
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
|
||||
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
|
||||
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
|
||||
JWT_PASSPHRASE={{ koillection_jwt_passphrase }}
|
||||
|
||||
########################################################################################################
|
||||
# DATABASE
|
||||
########################################################################################################
|
||||
|
||||
DB_DRIVER=pdo_pgsql
|
||||
DB_NAME={{ koillection_pg_database }}
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_USER={{ koillection_pg_role }}
|
||||
DB_PASSWORD={{ koillection_pg_password }}
|
||||
DB_VERSION={{ postgres_pg_version }}
|
Reference in New Issue
Block a user