-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.json
More file actions
79 lines (79 loc) · 1.99 KB
/
app.json
File metadata and controls
79 lines (79 loc) · 1.99 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
# App.json for Heroku deployment
{
"name": "UtilsBot+",
"description": "A modern, feature-rich Discord bot with AI integration, games, and utilities",
"website": "https://github.com/yourusername/utils-bot-plus",
"repository": "https://github.com/yourusername/utils-bot-plus",
"logo": "https://cdn.discordapp.com/app-icons/your-bot-id/icon.png",
"success_url": "/health",
"keywords": [
"discord",
"bot",
"python",
"ai",
"utilities"
],
"stack": "heroku-22",
"buildpacks": [
{
"url": "heroku/python"
}
],
"formation": {
"web": {
"quantity": 1,
"size": "eco"
}
},
"env": {
"BOT_TOKEN": {
"description": "Discord Bot Token from https://discord.com/developers/applications",
"required": true
},
"DEV_IDS": {
"description": "Comma-separated Discord User IDs of developers",
"required": true
},
"GEMINI_API_KEY": {
"description": "Google Gemini API key for AI features (optional)",
"required": false
},
"SECRET_KEY": {
"description": "Secret key for encryption",
"generator": "secret"
},
"AUTO_SYNC_COMMANDS": {
"description": "Auto-sync Discord commands on startup",
"value": "true"
},
"DEBUG": {
"description": "Enable debug mode",
"value": "false"
},
"LOG_LEVEL": {
"description": "Logging level",
"value": "INFO"
},
"ENABLE_DOCKER_SANDBOX": {
"description": "Enable Docker sandboxing (disabled for hosted services)",
"value": "false"
},
"ENABLE_EVAL_COMMAND": {
"description": "Enable eval command (disabled for security in hosted environment)",
"value": "false"
},
"ENABLE_RUN_COMMAND": {
"description": "Enable run command (disabled for security in hosted environment)",
"value": "false"
}
},
"addons": [
{
"plan": "heroku-postgresql:mini",
"as": "DATABASE"
}
],
"scripts": {
"postdeploy": "python migrations/init_db.py"
}
}