mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-28 06:21:14 +00:00
46 lines
1.7 KiB
Bash
46 lines
1.7 KiB
Bash
|
########################################################################################################
|
||
|
# 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=
|
||
|
|
||
|
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=
|
||
|
|
||
|
########################################################################################################
|
||
|
# DATABASE
|
||
|
########################################################################################################
|
||
|
|
||
|
DB_DRIVER=pdo_pgsql
|
||
|
DB_NAME=koillection
|
||
|
DB_HOST=db
|
||
|
DB_PORT=5432
|
||
|
DB_USER=koillection
|
||
|
DB_PASSWORD=change_me!
|
||
|
DB_VERSION=16
|