34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Infisical core configuration
|
|
SITE_URL='<< infisical_site_url >>'
|
|
ENCRYPTION_KEY='<< infisical_encryption_key >>'
|
|
AUTH_SECRET='<< infisical_auth_secret >>'
|
|
|
|
# Data stores
|
|
<%- if database_external %>
|
|
DB_CONNECTION_URI='<< database_connection_uri >>'
|
|
<%- else %>
|
|
POSTGRES_USER='<< database_user >>'
|
|
POSTGRES_PASSWORD='<< database_password >>'
|
|
POSTGRES_DB='<< database_name >>'
|
|
DB_CONNECTION_URI='postgresql://<< database_user >>:<< database_password >>@<< service_name or 'infisical' >>_postgres:5432/<< database_name >>?sslmode=disable'
|
|
<%- endif %>
|
|
<%- if redis_external %>
|
|
REDIS_URL='<< redis_url >>'
|
|
<%- else %>
|
|
REDIS_PASSWORD='<< redis_password >>'
|
|
REDIS_URL='redis://:<< redis_password >>@<< service_name or 'infisical' >>_redis:6379'
|
|
<%- endif %>
|
|
|
|
<%- if email_enabled %>
|
|
# SMTP configuration
|
|
SMTP_HOST='<< email_host >>'
|
|
SMTP_PORT='<< email_port >>'
|
|
SMTP_FROM_ADDRESS='<< email_from_address >>'
|
|
SMTP_FROM_NAME='<< email_from_name >>'
|
|
SMTP_USERNAME='<< email_username >>'
|
|
SMTP_PASSWORD='<< email_password >>'
|
|
SMTP_SECURE='<< email_secure | lower >>'
|
|
SMTP_REQUIRE_TLS='<< email_require_tls | lower >>'
|
|
SMTP_IGNORE_TLS='<< email_ignore_tls | lower >>'
|
|
<%- endif %>
|