-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.json
More file actions
122 lines (122 loc) · 3.16 KB
/
app.json
File metadata and controls
122 lines (122 loc) · 3.16 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
{
"name": "TMI Server",
"description": "Collaborative Threat Modeling Interface (TMI) API Server",
"repository": "https://github.com/YOUR_USERNAME/tmi",
"keywords": ["go", "threat-modeling", "security", "collaboration", "websocket"],
"buildpacks": [
{
"url": "heroku/go"
}
],
"env": {
"GO_INSTALL_PACKAGE_SPEC": {
"description": "Specifies which Go package to build (only tmiserver binary)",
"value": "github.com/ericfitz/tmi/cmd/server",
"required": true
},
"GOVERSION": {
"description": "Go version to use",
"value": "go1.24.2",
"required": false
},
"SERVER_PORT": {
"description": "Port the server will listen on (Heroku sets this automatically via $PORT)",
"value": "8080",
"required": false
},
"SERVER_INTERFACE": {
"description": "Network interface to bind to",
"value": "0.0.0.0",
"required": false
},
"LOGGING_LEVEL": {
"description": "Logging level (debug, info, warn, error)",
"value": "info",
"required": false
},
"LOGGING_IS_DEV": {
"description": "Enable development mode logging",
"value": "false",
"required": false
},
"POSTGRES_HOST": {
"description": "PostgreSQL database host (use Heroku Postgres addon)",
"required": true
},
"POSTGRES_PORT": {
"description": "PostgreSQL database port",
"value": "5432",
"required": false
},
"POSTGRES_USER": {
"description": "PostgreSQL database user",
"required": true
},
"POSTGRES_PASSWORD": {
"description": "PostgreSQL database password",
"required": true
},
"POSTGRES_DATABASE": {
"description": "PostgreSQL database name",
"required": true
},
"POSTGRES_SSL_MODE": {
"description": "PostgreSQL SSL mode (require for Heroku Postgres)",
"value": "require",
"required": false
},
"REDIS_HOST": {
"description": "Redis host (use Heroku Redis addon)",
"required": true
},
"REDIS_PORT": {
"description": "Redis port",
"value": "6379",
"required": false
},
"REDIS_PASSWORD": {
"description": "Redis password",
"required": false
},
"JWT_SECRET": {
"description": "JWT signing secret (use a strong random value)",
"generator": "secret",
"required": true
},
"JWT_EXPIRATION_SECONDS": {
"description": "JWT expiration time in seconds",
"value": "3600",
"required": false
},
"JWT_SIGNING_METHOD": {
"description": "JWT signing method (HS256, RS256, etc)",
"value": "HS256",
"required": false
},
"OAUTH_CALLBACK_URL": {
"description": "OAuth callback URL for authentication",
"required": true
},
"SERVER_TLS_ENABLED": {
"description": "Enable TLS (Heroku provides TLS at the load balancer)",
"value": "false",
"required": false
}
},
"addons": [
{
"plan": "heroku-postgresql:essential-0",
"as": "DATABASE"
},
{
"plan": "heroku-redis:mini",
"as": "REDIS"
}
],
"formation": {
"web": {
"quantity": 1,
"size": "basic"
}
}
}