1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snserver_ynh.git synced 2024-09-03 20:26:22 +02:00
snserver_ynh/conf/env.sample

73 lines
1.4 KiB
Text
Raw Normal View History

2020-12-20 14:22:36 +01:00
# Sample ENV setup Variables
# Copy this file and update as needed.
#
# $ cp .env.sample .env
#
# Do not include this new file in source control
#
2020-01-18 10:28:47 +01:00
# Rails Settings
EXPOSED_PORT=3000
2020-12-20 00:27:44 +01:00
# change this to "production" for production use, otherwise the access token time is very short and forces re-login
2020-01-18 10:28:47 +01:00
RAILS_ENV=development
2020-12-20 00:27:44 +01:00
RAILS_LOG_TO_STDOUT=false
RAILS_LOG_LEVEL=info # "debug" | "info" | "warn" | "error" | "fatal"
#SQS_QUEUE=somequeue
#SQS_QUEUE_LOW_PRIORITY=low_priority_queue
#AWS_REGION=us-west1
#S3_BACKUP_BUCKET_NAME=
2020-12-20 14:22:36 +01:00
ACTIVE_JOB_QUEUE_ADAPTER=async
2020-01-18 10:28:47 +01:00
# Database Settings
DB_PORT=3306
DB_HOST=127.0.0.1
DB_DATABASE=standard_notes_db
DB_USERNAME=std_notes_user
2020-12-20 14:22:36 +01:00
# Please change this!
2020-01-18 10:28:47 +01:00
DB_PASSWORD=changeme123
2020-12-20 00:27:44 +01:00
DB_POOL_SIZE=30
DB_WAIT_TIMEOUT=180
# Secrets
# Use: "bundle exec rake secret" or "openssl rand -hex 64"
# To generate required secret key base below
SECRET_KEY_BASE=changeme123
PSEUDO_KEY_PARAMS_KEY=changeme456
# Disable user registration
#DISABLE_USER_REGISTRATION=true
# Datadog
DATADOG_ENABLED=false
# Mailer settings
SMTP_HOST=
SMTP_PORT=
2021-02-06 20:01:03 +01:00
#SMTP_USERNAME=
#SMTP_PASSWORD=
2020-12-20 00:27:44 +01:00
SMTP_DOMAIN=
2021-02-06 20:01:03 +01:00
# Enalbe STARTTLS
# Empty is disabled
# Any value is enabled
SMTP_STARTTLS=
2020-12-20 00:27:44 +01:00
EMAIL_ATTACHMENT_MAX_SIZE=10485760
# SNS EVENTS
#SNS_TOPIC_ARN=
# (Optional) Database Replication
#DB_REPLICA_HOST=
# Revisions persistency
REVISIONS_FREQUENCY=300
2020-12-27 23:18:55 +01:00
# Sub-URI
RAILS_RELATIVE_URL_ROOT=/
2021-01-08 19:44:37 +01:00
2021-01-14 20:32:33 +01:00
# Public file server
# Empty is disabled
# Any value is enabled
2021-01-11 22:23:08 +01:00
RAILS_SERVE_STATIC_FILES=