You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.2 KiB
TOML
65 lines
1.2 KiB
TOML
app = "xxx"
|
|
|
|
kill_signal = "SIGINT"
|
|
kill_timeout = 5
|
|
|
|
[env]
|
|
WEB_DOMAIN=""
|
|
LOCAL_DOMAIN=""
|
|
LANG="en_US.UTF-8"
|
|
RAILS_ENV = "production"
|
|
RAILS_LOG_TO_STDOUT = "enabled"
|
|
RAILS_SERVE_STATIC_FILES = "enabled"
|
|
RACK_ENV = "production"
|
|
HEROKU=true
|
|
WEB_CONCURRENCY = "1"
|
|
REDIS_HOST = "xxx-redis.internal"
|
|
REDIS_PORT = "6379"
|
|
S3_ENABLED=false
|
|
SINGLE_USER_MODE=true
|
|
OTP_SECRET=""
|
|
SECRET_KEY_BASE=""
|
|
DATABASE_URL=""
|
|
|
|
[deploy]
|
|
release_command = "bundle exec rails db:migrate"
|
|
|
|
[mounts]
|
|
processes = ["rails"]
|
|
source = "mastodon_uploads"
|
|
destination = "/opt/mastodon/public/system"
|
|
|
|
[processes]
|
|
rails = "bundle exec rails s -p 8080"
|
|
sidekiq = "bundle exec sidekiq"
|
|
|
|
[[statics]]
|
|
guest_path = "/opt/mastodon/public"
|
|
url_prefix = "/"
|
|
|
|
[[services]]
|
|
internal_port = 8080
|
|
processes = ["rails"]
|
|
protocol = "tcp"
|
|
|
|
[[services.ports]]
|
|
handlers = ["http"]
|
|
port = 80
|
|
|
|
[[services.ports]]
|
|
handlers = ["tls", "http"]
|
|
port = 443
|
|
|
|
[[services.tcp_checks]]
|
|
grace_period = "1s"
|
|
interval = "15s"
|
|
restart_limit = 0
|
|
timeout = "2s"
|
|
|
|
[[services.http_checks]]
|
|
path = "/health"
|
|
grace_period = "1s"
|
|
interval = "15s"
|
|
restart_limit = 0
|
|
timeout = "2s"
|