include env files in skeleton
This commit is contained in:
parent
52f5cbc597
commit
f7f87766e3
70
.env
Normal file
70
.env
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
##
|
||||||
|
## Manually dump .env files in .env.local.php with
|
||||||
|
## `$ composer symfony:dump-env prod`
|
||||||
|
##
|
||||||
|
|
||||||
|
## Project environment
|
||||||
|
# this should be set in docker-compose.yml file
|
||||||
|
# APP_ENV=prod
|
||||||
|
|
||||||
|
## Enable debug
|
||||||
|
APP_DEBUG=false
|
||||||
|
|
||||||
|
## Locale
|
||||||
|
LOCALE=fr
|
||||||
|
|
||||||
|
## Framework secret
|
||||||
|
APP_SECRET=ThisTokenIsNotSoSecretChangeIt
|
||||||
|
|
||||||
|
## Wopi server for editing documents online
|
||||||
|
WOPI_SERVER=http://collabora:9980
|
||||||
|
|
||||||
|
# must be manually set in .env.local
|
||||||
|
# ADMIN_PASSWORD=
|
||||||
|
|
||||||
|
## Symfony/framework-bundle
|
||||||
|
TRUSTED_HOSTS='^(localhost|127.0.0.1|test.localde)$',${TRUSTED_HOST_2},${TRUSTED_HOST_3}
|
||||||
|
TRUSTED_PROXIES=~
|
||||||
|
|
||||||
|
## Doctrine/doctrine-bundle
|
||||||
|
DATABASE_URL=
|
||||||
|
|
||||||
|
## Symfony/swiftmailer
|
||||||
|
## Mailer
|
||||||
|
###> symfony/mailer ###
|
||||||
|
# MAILER_DSN=smtp://localhost
|
||||||
|
MAILER_DSN=
|
||||||
|
###< symfony/mailer ###
|
||||||
|
|
||||||
|
## Notifications
|
||||||
|
NOTIFICATION_HOST=localhost:8001
|
||||||
|
NOTIFICATION_FROM_EMAIL=admin@chill.social
|
||||||
|
NOTIFICATION_FROM_NAME="Chill <admin@chill.social>"
|
||||||
|
|
||||||
|
## Pgadmin credential
|
||||||
|
PGADMIN_DEFAULT_EMAIL=
|
||||||
|
PGADMIN_DEFAULT_PASSWORD=
|
||||||
|
|
||||||
|
## OVH OpenStack Storage Container
|
||||||
|
ASYNC_UPLOAD_TEMP_URL_KEY=
|
||||||
|
ASYNC_UPLOAD_TEMP_URL_BASE_PATH=
|
||||||
|
ASYNC_UPLOAD_TEMP_URL_CONTAINER=
|
||||||
|
|
||||||
|
## Redis Cache
|
||||||
|
REDIS_HOST=redis
|
||||||
|
REDIS_PORT=6379
|
||||||
|
REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT}
|
||||||
|
|
||||||
|
## Twilio
|
||||||
|
TWILIO_SID=~
|
||||||
|
TWILIO_SECRET=~
|
||||||
|
DEFAULT_CARRIER_CODE=BE
|
||||||
|
|
||||||
|
## DOCKER IMAGES REGISTRY
|
||||||
|
#IMAGE_PHP=
|
||||||
|
#IMAGE_NGINX=
|
||||||
|
|
||||||
|
## DOCKER IMAGES TAG
|
||||||
|
#VERSION=test
|
||||||
|
#VERSION=prod
|
||||||
|
|
13
.env.dev
Normal file
13
.env.dev
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
###> symfony/mailer ###
|
||||||
|
# MAILER_DSN=smtp://localhost
|
||||||
|
MAILER_DSN=smtp://smtp:1025
|
||||||
|
###< symfony/mailer ###
|
||||||
|
|
||||||
|
DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres?serverVersion=12&charset=utf8
|
||||||
|
MAILER_URL=smtp://smtp:1025
|
||||||
|
|
||||||
|
## Pgadmin credential
|
||||||
|
PGADMIN_DEFAULT_EMAIL=admin@chill.social
|
||||||
|
PGADMIN_DEFAULT_PASSWORD=password
|
||||||
|
|
4
.env.test
Normal file
4
.env.test
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# define your env variables for the test env here
|
||||||
|
KERNEL_CLASS='App\Kernel'
|
||||||
|
APP_SECRET='$ecretf0rt3st'
|
||||||
|
ADMIN_PASSWORD=password
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -8,8 +8,7 @@ bin/*
|
|||||||
config/secrets/
|
config/secrets/
|
||||||
|
|
||||||
## env files
|
## env files
|
||||||
.env*
|
.env.local
|
||||||
!.env.dist
|
|
||||||
|
|
||||||
.composer/*
|
.composer/*
|
||||||
composer.phar
|
composer.phar
|
||||||
@ -75,4 +74,4 @@ yarn-error.log
|
|||||||
###< symfony/webpack-encore-bundle ###
|
###< symfony/webpack-encore-bundle ###
|
||||||
|
|
||||||
docker-compose.override.yml
|
docker-compose.override.yml
|
||||||
docker-compose.override.yaml
|
docker-compose.override.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user