forked from pglombardo/PasswordPusher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.json
More file actions
130 lines (130 loc) · 3.95 KB
/
app.json
File metadata and controls
130 lines (130 loc) · 3.95 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "PasswordPusher",
"description": "Share passwords, text, files, URLs, and QR payloads via secret links that expire by views and/or time. Encrypted storage, optional passphrase, audit logging, and JSON API.",
"website": "https://pwpush.com",
"repository": "https://github.com/pglombardo/PasswordPusher",
"logo": "https://pwpush.fra1.cdn.digitaloceanspaces.com/branding/logos/horizontal-logo-small.png",
"keywords": [
"password",
"security",
"expire",
"file-sharing",
"url-sharing",
"qr-code",
"rails"
],
"success_url": "/",
"stack": "heroku-24",
"buildpacks": [
{
"url": "heroku/ruby"
}
],
"formation": {
"web": {
"quantity": 1,
"size": "basic"
}
},
"addons": [
{
"plan": "heroku-postgresql",
"as": "DATABASE"
}
],
"scripts": {
"postdeploy": "bundle exec rails db:prepare"
},
"env": {
"BUNDLE_WITHOUT": {
"description": "Bundler groups to exclude from production bundle.",
"value": "development:test"
},
"RAILS_LOG_TO_STDOUT": {
"description": "Log to stdout for Heroku log drain.",
"value": "true"
},
"RAILS_SERVE_STATIC_FILES": {
"description": "Serve static assets from Rails when no CDN is in front.",
"value": "true"
},
"SECRET_KEY_BASE": {
"description": "Rails secret key base. Generate: rails secret",
"generator": "secret"
},
"PWPUSH_MASTER_KEY": {
"description": "Lockbox encryption key for payloads. Generate: rails runner 'puts Lockbox.generate_key'",
"generator": "secret"
},
"WEB_CONCURRENCY": {
"description": "Puma worker processes (memory vs throughput tradeoff).",
"value": "2"
},
"PWP__HOST_DOMAIN": {
"description": "Public hostname without scheme (e.g. myapp.herokuapp.com). Required for correct secret URLs.",
"required": false
},
"PWP__HOST_PROTOCOL": {
"description": "https recommended in production.",
"value": "https"
},
"PWP__OVERRIDE_BASE_URL": {
"description": "Full base URL if app is behind a proxy or custom domain (e.g. https://secrets.example.com).",
"required": false
},
"PWP__ALLOWED_HOSTS": {
"description": "Space-separated hostnames Rails should accept (Host header). Set to your Heroku hostname and custom domains.",
"required": false
},
"PWP__FILES__STORAGE": {
"description": "File push backend: local (ephemeral on Heroku) or s3. Use s3 for durable file pushes; see docs for PWP__FILES__S3__* vars.",
"value": "local"
},
"PWP__ALLOW_ANONYMOUS": {
"description": "Allow creating pushes without signing in.",
"value": "true"
},
"PWP__DISABLE_SIGNUPS": {
"description": "Hide Sign Up and block new registrations via UI.",
"value": "false"
},
"PWP__DISABLE_LOGINS": {
"description": "Hide Log In; sign_in returns 404. Use with allow_anonymous true for anonymous-only. Do not combine with allow_anonymous false.",
"value": "false"
},
"PWP__ENABLE_USER_ACCOUNT_EMAILS": {
"description": "Devise mail (confirm/reset). Requires SMTP; set PWP__MAIL__SMTP_* when true.",
"value": "false"
},
"PWP__MAIL__SMTP_ADDRESS": {
"description": "SMTP host when account emails are enabled.",
"required": false
},
"PWP__ENABLE_FILE_PUSHES": {
"description": "File pushes require a signed-in user unless disable_logins hides the feature.",
"value": "true"
},
"PWP__ENABLE_URL_PUSHES": {
"description": "URL push kind.",
"value": "true"
},
"PWP__ENABLE_QR_PUSHES": {
"description": "QR push kind.",
"value": "true"
},
"PWP__THEME": {
"description": "Bootswatch theme name. See https://docs.pwpush.com/docs/themes/",
"value": "default"
}
},
"environments": {
"review": {
"formation": {
"web": {
"quantity": 1,
"size": "basic"
}
}
}
}
}