s1rd4v3 / ssh-pm2

SSH Server with pm2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ssh-pm2

Docker image to manage bundled meteor with pm2

You have to define the environment variable PM2_START_FILE which points to the pm2 process file.

Example pm2 process file for Meteor Apps (in YAML)

---
apps:
  - script    : /web/main.js
    name      : Meteor App
    watch     : 
      - /web/main.js
        /web/pm2.yml
    env: 
      APP_NAME  : My Meteor App
      PORT      : 443
      MONGO_URL : mongodb://MONGO_USER:MONGO_PASSWORD@MONGO_SERVER_PATH:MONGO_SERVER_PORT/MONGO_DB_NAME
      ROOT_URL  : https://MY-DOMAIN.COM/
      METEOR_SETTINGS:
        MAIL_URL  : smtp://EMAIL_AUTH_USER:EMAIL_AUTH_PASSOWRD@EMAIL_DOMAIN:587
        MAIL      : FULL_EMAIL

all options can be found here

About

SSH Server with pm2


Languages

Language:Dockerfile 65.9%Language:Shell 34.1%