2023-08-07 03:37:41 +08:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
|
|
|
"version": "PTDL_v2",
|
|
|
|
"update_url": null
|
|
|
|
},
|
2023-08-07 04:18:05 +08:00
|
|
|
"exported_at": "2023-08-06T20:16:08+00:00",
|
2023-08-07 03:37:41 +08:00
|
|
|
"name": "Muse",
|
|
|
|
"author": "hello@apollo.moe",
|
|
|
|
"description": "\ud83c\udfa7 a self-hosted midwestern Discord music bot that doesn't suck",
|
|
|
|
"features": null,
|
|
|
|
"docker_images": {
|
|
|
|
"ghcr.io\/software-noob\/pterodactyl-images:nodejs_16": "ghcr.io\/software-noob\/pterodactyl-images:nodejs_16"
|
|
|
|
},
|
|
|
|
"file_denylist": [],
|
|
|
|
"startup": "npm start",
|
|
|
|
"config": {
|
|
|
|
"files": "{\r\n \".env\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"DISCORD_TOKEN\": \"DISCORD_TOKEN={{env.discord_token}}\",\r\n \"DATA_DIR\": \"DATA_DIR={{env.data_dir}}\",\r\n \"YOUTUBE_API_KEY\": \"YOUTUBE_API_KEY={{env.api_key}}\",\r\n \"SPOTIFY_CLIENT_ID\": \"SPOTIFY_CLIENT_ID={{env.client_id}}\",\r\n \"SPOTIFY_CLIENT_SECRET\": \"SPOTIFY_CLIENT_SECRET={{env.client_secret}}\"\r\n }\r\n }\r\n}",
|
|
|
|
"startup": "{\r\n \"done\": \"Running version \"\r\n}",
|
|
|
|
"logs": "{}",
|
|
|
|
"stop": "^^C"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"installation": {
|
2023-08-07 04:18:05 +08:00
|
|
|
"script": "apt-get update\r\napt-get install openssl git ffmpeg -y -qq\r\ncd \/mnt\/server\r\nif [[ -d .git\/ ]]; then\r\n git pull\r\nelse\r\n git clone https:\/\/github.com\/codetheweb\/muse.git .;\r\nfi;\r\ncp .env.example .env\r\nyarn install --frozen-lockfile\r\nsed -i 's\/of filterWrapper[)]\/of filterWrapper|| [])\/g' \/mnt\/server\/node_modules\/ytsr\/lib\/utils.js",
|
2023-08-07 03:37:41 +08:00
|
|
|
"container": "node:lts-bullseye-slim",
|
|
|
|
"entrypoint": "bash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"name": "TOKEN",
|
|
|
|
"description": "Discord Bot Token",
|
|
|
|
"env_variable": "discord_token",
|
|
|
|
"default_value": "",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string",
|
|
|
|
"field_type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Data directory",
|
|
|
|
"description": "Default: .\/data",
|
|
|
|
"env_variable": "data_dir",
|
|
|
|
"default_value": ".\/data",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string|max:20",
|
|
|
|
"field_type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "YouTube API Key",
|
|
|
|
"description": "You can get it here: https:\/\/console.developers.google.com\/",
|
|
|
|
"env_variable": "api_key",
|
|
|
|
"default_value": "",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string",
|
|
|
|
"field_type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Spotify Client ID",
|
|
|
|
"description": "You can get it here: https:\/\/developer.spotify.com\/dashboard\/applications",
|
|
|
|
"env_variable": "client_id",
|
|
|
|
"default_value": "",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string",
|
|
|
|
"field_type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Spotify Client Secret",
|
|
|
|
"description": "You can get it here: https:\/\/developer.spotify.com\/dashboard\/applications",
|
|
|
|
"env_variable": "client_secret",
|
|
|
|
"default_value": "",
|
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": true,
|
|
|
|
"rules": "required|string",
|
|
|
|
"field_type": "text"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|