forked from pelican-eggs/eggs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-dynamica.json
59 lines (59 loc) · 2.04 KB
/
egg-dynamica.json
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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2021-12-13T10:34:52+11:00",
"name": "Dynamica",
"author": "[email protected]",
"description": "The dynamica discord bot",
"features": null,
"images": [
"ghcr.io\/parkervcp\/yolks:nodejs_16"
],
"file_denylist": [],
"startup": "yarn deploy && yarn prisma migrate deploy && yarn start",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Ready! Logged in as \"\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "apt-get update\r\napt-get install openssl git -y -qq\r\ncd \/mnt\/server\r\nif [[ -d .git\/ ]]; then\r\n git pull\r\nelse\r\n git clone https:\/\/github.com\/dynamicabot\/dynamica.git .;\r\nfi;\r\nyarn install --frozen-lockfile",
"container": "node:lts-buster-slim",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Database Path",
"description": "The path in which to create the sqlite database.",
"env_variable": "DATABASE_URL",
"default_value": "file:\/home\/container\/dynamica\/db.sqlite",
"user_viewable": true,
"user_editable": false,
"rules": "required|string"
},
{
"name": "Token",
"description": "The token for the discord bot.",
"env_variable": "TOKEN",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string"
},
{
"name": "Client ID",
"description": "The client ID of your discord bot.",
"env_variable": "CLIENT_ID",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|size:18"
}
]
}