2020-03-05 02:24:17 +08:00
{
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO" ,
"meta" : {
2022-07-11 19:20:41 +08:00
"version" : "PTDL_v2" ,
"update_url" : null
2020-03-05 02:24:17 +08:00
} ,
2022-07-11 19:20:41 +08:00
"exported_at" : "2022-07-11T13:18:27+02:00" ,
2020-07-11 12:36:33 +08:00
"name" : "Redis-6" ,
2020-03-05 02:24:17 +08:00
"author" : "parker@parkervcp.com" ,
"description" : "Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams." ,
2022-07-11 19:20:41 +08:00
"features" : null ,
"docker_images" : {
"ghcr.io\/parkervcp\/yolks:redis_6" : "ghcr.io\/parkervcp\/yolks:redis_6"
} ,
"file_denylist" : [ ] ,
2020-07-11 12:36:33 +08:00
"startup" : "\/usr\/local\/bin\/redis-server \/home\/container\/redis.conf --save 60 1 --dir \/home\/container\/ --bind 0.0.0.0 --port {{SERVER_PORT}} --requirepass {{SERVER_PASSWORD}} --maxmemory {{SERVER_MEMORY}}mb --daemonize yes && redis-cli -p {{SERVER_PORT}} -a {{SERVER_PASSWORD}}; redis-cli -p {{SERVER_PORT}} -a {{SERVER_PASSWORD}} shutdown save" ,
2020-03-05 02:24:17 +08:00
"config" : {
"files" : "{}" ,
"startup" : "{\r\n \"done\": \"Configuration loaded\"\r\n}" ,
"logs" : "{}" ,
2020-07-11 12:36:33 +08:00
"stop" : "^C"
2020-03-05 02:24:17 +08:00
} ,
"scripts" : {
"installation" : {
2020-09-29 09:09:24 +08:00
"script" : "#!\/bin\/ash\r\n# Redis Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napk add --no-cache curl\r\n\r\nif [ ! -d \/mnt\/server ]; then\r\n mkdir \/mnt\/server\/\r\nfi\r\n\r\ncd \/mnt\/server\/\r\n\r\nif [ ! -d \/mnt\/server\/redis.conf ]; then\r\n curl https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/database\/redis\/redis-6\/redis.conf -o redis.conf\r\nfi\r\n\r\nsleep 5\r\necho -e \"Install complete. Made this to not have issues.\"" ,
2020-03-05 02:24:17 +08:00
"container" : "alpine:3.10" ,
"entrypoint" : "ash"
}
} ,
"variables" : [
{
"name" : "Redis Password" ,
"description" : "The password redis should use to secure the server." ,
"env_variable" : "SERVER_PASSWORD" ,
"default_value" : "P@55w0rd" ,
2022-07-11 19:20:41 +08:00
"user_viewable" : true ,
"user_editable" : true ,
"rules" : "required|string" ,
"field_type" : "text"
2020-03-05 02:24:17 +08:00
}
]
2022-07-11 19:20:41 +08:00
}