Settings
The following environment variables should be changed in the .env
file before going live to production.
Mandatory
APP_ENV
DANGER ZONE
Changing this environment variable has an impact on the delivery of the data to the tax authorities.
Until the productive completion, the solution should be operated in development
(set by default).
APP_ENV=development
When the solution is ready to go productive, APP_ENV
should be set to production
.
APP_ENV=production
Variable is case sensitive.
DEVELOPER_ID
Five-digit number which is assigned by ELSTER (cf. ELSTER Developer-ID).
DEVELOPER_NAME
Name of the software. Will be printed on the PDF transfer protocols in the lower left corner and will be disclosed on submissions to tax authorities.
CERTIFICATE_PIN
PIN for the certificate on the authentification medium.
DB_*
SQL database credentials.
DB_HOST
Host of database server.
DB_DATABASE
Database name. Default: weric
.
DB_USERNAME
Username for database connection.
DB_PASSWORD
Database connection password.
FILESYSTEM_CLOUD
Where should the PDF transfer protocols, retrieved data and ERiC logs be stored. In production it should be s3
for Amazon AWS S3.
AWS_*
Settings and credentials for storing data in Amazon AWS S3-compatible services.
AWS_ACCESS_KEY_ID Access key ID generated in AWS Console or setup with another S3 storage.
AWS_SECRET_ACCESS_KEY Secret access key generated in AWS Console or setup with another S3 storage.
AWS_BUCKET
Bucket name. Default: weric
.
AWS_DEFAULT_REGION
AWS region where data stored. Typically and default: eu-central-1
.
Optional
API_TOKEN
Bearer token to authenticate for API /v2/
endpoints.
SENTRY_LARAVEL_DSN
Data Source Name für Sentry (Error Monitoring).
Last updated
Was this helpful?