webcron/.env.sample

79 lines
3.1 KiB
Plaintext
Raw Permalink Normal View History

2022-04-27 14:24:48 +02:00
################
### DEFAULT ###
################
## What kind of environment. Only use prod here.
APP_ENV=prod
2021-04-06 19:33:20 +02:00
################
### DATABASE ###
################
2021-06-04 14:22:32 +02:00
## We're using a database. Look at the url below to create a database URL
2021-04-06 19:33:20 +02:00
## https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
## Mysql sample
2022-05-05 15:40:58 +02:00
DATABASE_URL="mysql://root:letmein@localhost:3306/webcron?charset=UTF8"
2021-04-06 19:33:20 +02:00
## Sqlite sample
2022-05-05 15:40:58 +02:00
DATABASE_URL="sqlite:///storage/database.sqlite"
2021-04-06 19:33:20 +02:00
2022-07-01 12:00:36 +02:00
#################
### DEMO-MODE ###
#################
## Demo mode is used for showcasing the application. Demo mode will create a warning on every page and won't run your cronjobs
## As this will also display credentials on the login page, you should avoid enabling this on production environmnents
## Why would you want to do that anyway?
DEMO_MODE=false
## The username and password of the demo mode cannot be read from the database. Therefore we are putting these in plain-text here.
## They should be available anyway
DEMO_USER=example@example.com
DEMO_PASS=password
2021-06-04 14:22:32 +02:00
##################
### ENCRYPTION ###
##################
## WARNING: Consider your already saved secrets lost when changing below values
2021-04-06 19:33:20 +02:00
2021-06-04 14:22:32 +02:00
## This secret value is used to encrypt secret variables (eg. ssh-keys, http-auth passwords, etc)
2021-04-09 15:14:35 +02:00
SECRET=ImNotThatSecretSoPleaseChangeMe0123456789
2021-06-04 14:22:32 +02:00
## The encryption method used for encrypting secret variables. AES-256 is most commonly used and considered most safe.
## Please see https://www.php.net/openssl-get-cipher-methods for possible values
2021-04-09 15:14:35 +02:00
ENCRYPTION_METHOD="AES-256-CBC"
2021-06-04 14:22:32 +02:00
2022-07-01 12:00:36 +02:00
## Encryption can only be secure if you are sure it is not tampered.
## The value below is the hashing algorithm that is used to verify the encrypted date
2021-04-09 15:14:35 +02:00
HASHING_METHOD="sha256"
2021-06-04 14:22:32 +02:00
###################
### ENVIRONMENT ###
###################
2021-04-09 15:14:35 +02:00
## Debug mode is solely for development purposes only. It disables caching and enables your webcam to stream it to the web
DEBUG=false
2021-06-04 14:22:32 +02:00
## Cookies are used for saving autologin credentials. This sets the amount of time in seconds the credentials are saved.
## Grandma probably has a calculator somewhere if you need to check how many seconds are in a week :)
2021-05-26 15:25:02 +02:00
COOKIE_LIFETIME=2592000
2021-06-04 14:22:32 +02:00
## Unfortunatly, not everyone has the same timezone. 3:00PM in Sydney, does not mean it is 15:00 in Brussels.
## You can change this here. Need help? https://www.php.net/timezones
TZ=Europe/Brussels
2021-05-26 15:25:02 +02:00
## TRUSTED_PROXIES is a useful variable when using Docker and/or a reverse proxy.
2021-06-04 14:22:32 +02:00
## Set it to the IP address of your proxy. You can set to multiple proxies by comma-separating them
TRUSTED_PROXIES=127.0.0.1
##############
### MAILER ###
##############
## Webcron management is sending you mails when cronjob are failing. The MAILER_DSN is providing usefull information on
## the how mails are being sent. Need info? https://symfony.com/doc/current/mailer.html#transport-setup
MAILER_DSN=native://default
## Anonymous is still someone. So even if this someone is unknown you need someone who is sending your mails.
MAILER_FROM=www-data@example.com
2022-04-27 14:24:48 +02:00
## Now that everything is set up: go to your friends and get wasted!