Loading...
Loading...
Use when deploying a Meteor 3 application. Triggers on meteor build, meteor deploy, Galaxy Push to Deploy, Galaxy Mode, Repository Mode, DEPLOY_HOSTNAME, Docker, Kubernetes, settings.json, METEOR_SETTINGS, MONGO_URL, MONGO_OPLOG_URL, ROOT_URL, PORT, HTTP_FORWARDED_COUNT, NODE_OPTIONS, health checks, pre-deploy commands, hot code push, --architecture os.linux.x86_64, --server-only, or a deployed Node.js version mismatch. Use this skill when the user asks about shipping the app, asks about production config, or asks about containerizing.
npx skill4agent add meteor/agent-skills meteor-deploymentmeteor build| Meteor | Node major |
|---|---|
| 3.0 | 20 |
| 3.1 through 3.4 | 22 |
| 3.5+ | 24 |
meteor node -vreferences/galaxy.mdmeteor build --directory ./build --server-only--architecture os.linux.x86_64meteor buildbundle/programs/servernode main.js| Var | Purpose |
|---|---|
| Absolute external URL (e.g. |
| |
| Optional Mongo replica oplog URL. |
| Listen port. Default 3000. |
| Network interface. Default 0.0.0.0. |
| JSON; populates |
| SMTP for |
ROOT_URLMeteor.absoluteUrlMONGO_OPLOG_URLsettings.json{
"public": { "appName": "My App", "stripePublishableKey": "pk_live_..." },
"stripeSecretKey": "sk_live_...",
"oauthSecretKey": "16-byte-base64==",
"mailgun": { "apiKey": "..." }
}public# dev
meteor run --settings settings.json
# production
METEOR_SETTINGS=$(cat settings.json) node bundle/main.js| Path | Use when | Trigger |
|---|---|---|
| Push to Deploy | Galaxy should build a connected GitHub or Bitbucket branch. | Every push to the selected branch. |
| Meteor CLI | A person or CI pipeline controls each upload. | |
meteor login
meteor deploy myapp --free --settings settings.json
DEPLOY_HOSTNAME=eu-west-1.galaxy-deploy.meteor.com \
meteor deploy myapp --plan essentials --settings settings.jsonmyapp.sandbox.galaxycloud.appmyapp.<region>.galaxycloud.appROOT_URLPORTROOT_URLMETEOR_SETTINGSMONGO_URLMAIL_URLgalaxy.meteor.com.env--settingsreferences/galaxy.mdreferences/docker.md--server-onlyweb.cordovaautoupdateautoupdate.meteor/packageshot-module-replacementMeteor.disableClientResourceFetchsettings.jsonMETEOR_SETTINGS=$(cat ...)ROOT_URLMeteor.absoluteUrlmeteor node -v--architecture os.linux.x86_64--settings$PORTbundle/references/settings-and-env.mdreferences/galaxy.mdreferences/docker.mdreferences/eval-cases.md