-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (39 loc) · 2.05 KB
/
Copy path.env.example
File metadata and controls
45 lines (39 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Database Configuration
# DB HOST - The hostname of the database server, typically 'localhost' for local development
# DB USERNAME - The username used to connect to the database
# DB PASSWORD - The password used to connect to the database
# DB DATABASE - The name of the database to be used
DB_HOST=localhost
DB_USERNAME=username
DB_PASSWORD=password
DB_DATABASE=myvivarium
# SMTP (Email) Configuration
# SMTP HOST - The SMTP server address used for sending emails
# SMTP PORT - The port number used by the SMTP server (587 is typically used for TLS)
# SMTP USERNAME - The username used to authenticate with the SMTP server
# SMTP PASSWORD - The password used to authenticate with the SMTP server
# SMTP ENCRYPTION - The encryption method used by the SMTP server (e.g., 'tls' or 'ssl')
# SENDER EMAIL - The email address used as the sender for outgoing emails
# SENDER NAME - The name displayed as the sender for outgoing emails
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=username
SMTP_PASSWORD=password
SMTP_ENCRYPTION=tls
SENDER_EMAIL=sender@example.com
SENDER_NAME=MyVivarium
# Optional Configuration
# AI_SETTINGS_ENCRYPTION_KEY - 64 hex chars (32 bytes) used to encrypt stored
# AI-provider and SMTP secrets (AES-256-CBC). Generate one with:
# php -r "echo bin2hex(random_bytes(32)), PHP_EOL;"
# If left blank, a key is auto-generated and written here the first time an
# admin opens the AI Configuration page. Set a stable value before saving any
# provider keys or SMTP credentials, or you won't be able to decrypt them later.
# SESSION_COOKIE_SECURE - set to false only for local HTTP development so session
# cookies are not restricted to HTTPS (defaults to true).
AI_SETTINGS_ENCRYPTION_KEY=
SESSION_COOKIE_SECURE=true
# Additional Information
# This .env file is used to configure environment variables for a PHP application.
# Ensure that this file is kept secure and not exposed publicly, as it contains sensitive information.
# Variables in this file can be accessed in your PHP code using the getenv() function or libraries like vlucas/phpdotenv.