forked from ruby-no-kai/sponsor-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
52 lines (45 loc) · 1.66 KB
/
fly.toml
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
46
47
48
49
50
51
52
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
app = 'sponsor-app'
primary_region = 'nrt'
console_command = 'bundle exec rails console'
[build]
dockerfile = "Dockerfile"
[deploy]
release_command = 'bundle exec rails db:migrate'
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = "suspend"
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[[vm]]
memory = '512mb'
cpu_kind = 'shared'
cpus = 1
[experimental]
cmd = ["bundle", "exec", "puma", "-b", "tcp://0.0.0.0", "-p", "3000", "-w", "0", "-t", "4:4"]
[env]
AWS_REGION = "ap-northeast-1"
AWS_ROLE_ARN = "arn:aws:iam::529088264854:role/Trk12SponsorAppProduction"
DATABASE_URL = "postgres://[email protected]:5432"
DEFAULT_EMAIL_ADDRESS = "[email protected]"
DEFAULT_EMAIL_HOST = "tokyorubykaigi12.org"
DEFAULT_URL_HOST = "sponsorships.tokyorubykaigi12.org"
ENABLE_SHORYUKEN = "0"
GITHUB_APP_ID = "990067"
GITHUB_CLIENT_ID = "Iv23liCJtVnA9gLDRmaL"
GITHUB_REPO = "tokyorubykaigi12/auth"
LD_PRELOAD = "/usr/lib/x86_64-linux-gnu/libjemalloc.so.2"
MAILGUN_SMTP_LOGIN = "[email protected]"
MAILGUN_SMTP_PORT = "587"
MAILGUN_SMTP_SERVER = "smtp.mailgun.org"
MALLOC_CONF = "dirty_decay_ms:0,muzzy_decay_ms:0,narenas:2,background_thread:true,thp:never"
ORG_NAME = "Tokyo RubyKaigi 12 Team"
RAILS_ENV = "production"
RAILS_LOG_TO_STDOUT = "1"
RAILS_SERVE_STATIC_FILES = "1"
S3_FILES_BUCKET = "trk12-sponsor-app"
S3_FILES_PREFIX = "production/"
S3_FILES_REGION = "ap-northeast-1"
S3_FILES_ROLE = "arn:aws:iam::529088264854:role/Trk12SponsorAppImageUploader"