mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-29 10:49:14 +01:00
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
# Since .env is gitignored, you can use .env.example to build a new `.env` file when you clone the repo.
|
|
# Keep this file up-to-date when you add new variables to \`.env\`.
|
|
|
|
# This file will be committed to version control, so make sure not to have any secrets in it.
|
|
# If you are cloning this repo, create a copy of this file named `.env` and populate it with your secrets.
|
|
|
|
# The below secret is not used anywhere but required for Auth.js (Would encrypt JWTs and Mail hashes, both not used)
|
|
AUTH_SECRET="supersecret"
|
|
|
|
# The below secret is used to encrypt integration secrets in the database.
|
|
# It should be a 32-byte string, generated by running `openssl rand -hex 32` on Unix
|
|
# or starting the project without any (which will show a randomly generated one).
|
|
SECRET_ENCRYPTION_KEY=0000000000000000000000000000000000000000000000000000000000000000
|
|
|
|
# This is how you can use the sqlite driver:
|
|
DB_DRIVER='better-sqlite3'
|
|
DB_URL='FULL_PATH_TO_YOUR_SQLITE_DB_FILE'
|
|
|
|
# Those are the two ways to use the mysql2 driver:
|
|
# 1. Using the URL format:
|
|
# DB_DRIVER='mysql2'
|
|
# DB_URL='mysql://user:password@host:port/database'
|
|
# 2. Using the connection options format:
|
|
# DB_DRIVER='mysql2'
|
|
# DB_HOST='localhost'
|
|
# DB_PORT='3306'
|
|
# DB_USER='username'
|
|
# DB_PASSWORD='password'
|
|
# DB_NAME='name-of-database'
|
|
|
|
TURBO_TELEMETRY_DISABLED=1
|
|
|
|
# Configure logging to use winston logger
|
|
NODE_OPTIONS='-r @homarr/log/override' |