StruxaEggs Explorer

nodemon

Generic

Nodemon javascript egg that automatically restarts the node application when file changes in the directory are detected This will clone a git repo for a bot. it defaults to master if no branch is specified. Installs the node_modules on install. If you set user_upload, then I assume you know what you are doing.

Author: nick@blackforthosting.comSource: pterodactyl/generic-eggsUpdated: 5/24/2026

Startup Command

npm install nodemon; if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == "1" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then /usr/local/bin/npm install ${NODE_PACKAGES}; fi; if [[ ! -z ${UNNODE_PACKAGES} ]]; then /usr/local/bin/npm uninstall ${UNNODE_PACKAGES}; fi; if [ -f /home/container/package.json ]; then /usr/local/bin/npm install --production; fi; /home/container/node_modules/nodemon/bin/nodemon.js /home/container/{{BOT_JS_FILE}}

Docker Images

LabelImage
Nodejs 24ghcr.io/ptero-eggs/yolks:nodejs_24
Nodejs 23ghcr.io/ptero-eggs/yolks:nodejs_23
Nodejs 22ghcr.io/ptero-eggs/yolks:nodejs_22
Nodejs 21ghcr.io/ptero-eggs/yolks:nodejs_21
Nodejs 20ghcr.io/ptero-eggs/yolks:nodejs_20
Nodejs 19ghcr.io/ptero-eggs/yolks:nodejs_19
Nodejs 18ghcr.io/ptero-eggs/yolks:nodejs_18
Nodejs 17ghcr.io/ptero-eggs/yolks:nodejs_17
Nodejs 16ghcr.io/ptero-eggs/yolks:nodejs_16
Nodejs 14ghcr.io/ptero-eggs/yolks:nodejs_14
Nodejs 12ghcr.io/ptero-eggs/yolks:nodejs_12

Environment Variables

NameVariableDefaultRules
Git Repo Address
GitHub Repo to clone I.E. https://github.com/nickdevnl/repo_name
GIT_ADDRESSnonenullable|string
Install Branch
The branch of the bot to install.
BRANCHnonenullable|string
User Uploaded Files
Skip all the install stuff if you are letting a user upload files. 0 = false (default) 1 = true
USER_UPLOAD0required|boolean
Auto Update
Pull the latest files on startup when using a GitHub repo. You must have .git folder, reinstall if you are missing it.
AUTO_UPDATE0required|boolean
Bot js file
The file that starts the bot.
BOT_JS_FILEindex.jsrequired|string
Additional Node packages
Install additional node packages. Use spaces to separate.
NODE_PACKAGESnonenullable|string
Uninstall Node packages
Uninstall node packages. Use spaces to separate.
UNNODE_PACKAGESnonenullable|string
Git Username
Username to auth with git.
USERNAMEnonenullable|string
Git Access Token
Password to use with git. It's best practice to use a Personal Access Token. https://github.com/settings/tokens https://gitlab.com/-/profile/personal_access_tokens
ACCESS_TOKENnonenullable|string