Update bot eggs to have an image selection

This commit is contained in:
TekExplorer 2021-01-05 19:33:25 +00:00
parent 04fcee5c31
commit c8f3277a48
2 changed files with 9 additions and 0 deletions

View File

@ -8,6 +8,11 @@
"author": "parker@parkervcp.com",
"description": "a generic discord js bot egg\r\n\r\nThis will clone a git repo for a bot. it defaults to master if no branch is specified.\r\n\r\nInstalls the node_modules on install. If you set user_upload then I assume you know what you are doing.",
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12",
"images": [
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-10",
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12",
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-14"
],
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then \/usr\/local\/bin\/npm install ${NODE_PACKAGES}; fi; if [ -f \/home\/container\/package.json ]; then \/usr\/local\/bin\/npm install --production; fi; \/usr\/local\/bin\/node \/home\/container\/{{BOT_JS_FILE}}",
"config": {
"files": "{}",

View File

@ -8,6 +8,10 @@
"author": "parker@parkervcp.com",
"description": "A Discord bot written in Python using discord.py\r\n\r\nhttps:\/\/github.com\/Ispira\/pixel-bot",
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_python-3.8",
"images": [
"quay.io\/parkervcp\/pterodactyl-images:debian_python-3.8",
"quay.io\/parkervcp\/pterodactyl-images:debian_python-2.7"
],
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z ${PY_PACKAGES} ]]; then pip install -U --target \/home\/container\/ ${PY_PACKAGES}; fi; if [[ -f \/home\/container\/requirements.txt ]]; then pip install -U --target \/home\/container\/ -r requirements.txt; fi; \/usr\/local\/bin\/python \/home\/container\/{{BOT_PY_FILE}}",
"config": {
"files": "{}",