zodern / meteor-up

Production Quality Meteor Deployment to Anywhere
http://meteor-up.com/
MIT License
1.27k stars 280 forks source link

SSL certificate is self signed #1117

Closed 143mailliw closed 4 years ago

143mailliw commented 4 years ago

Mup version (`1.4.6'):

Mup config

  "servers": {
    "one": {
      "host": "1.2.3.4",
      "username": "root",
      "password": "password"
    }
  },
  "app": {
    "name": "my-app",
    "path": "../",
    "servers": {
      "one": {}
    },
    "buildOptions": {
      "serverOnly": true,
      "executable": "meteor"
    },
    "env": {
      "ROOT_URL": "https://subdomain.host.com",
      "MONGO_URL": "mongodb://mongodb:27017/my-app",
      "MONGO_OPLOG_URL": "mongodb://mongodb/local",
      "VIRTUAL_HOST": "domain.domain",
      "HTTPS_METHOD": "redirect",
      "HTTP_FORWARDED_COUNT": 1,
      "LETSENCRYPT_HOST": "domain.domain",
      "LETSENCRYPT_EMAIL": "email@email"
    },
    "docker": {
      "image": "abernix/meteord:node-8-base",
      "stopAppDuringPrepareBundle": true,
      "args": [
        "--link=mongodb:mongodb"
      ]
    },
    "enableUploadProgressBar": true,
    "type": "meteor"
  },
  "mongo": {
    "servers": {
      "one": {}
    }
  },
  "proxy": {
    "domains": "domain.domain",
    "ssl": {
      "forceSSL": true,
      "letsEncryptEmail": "email@email.com"
    }
  }
}

Output of command

[IPADDR] - Setup Docker
19.03.4
Major 19
Minor 03
[IPADDR] - Setup Docker: SUCCESS

Started TaskList: Setup Meteor
[IPADDR] - Setup Environment
[IPADDR] - Setup Environment: SUCCESS

Started TaskList: Setup proxy
[IPADDR] - Setup Environment
[IPADDR] - Setup Environment: SUCCESS
[IPADDR] - Pushing the Startup Script
[IPADDR] - Pushing the Startup Script: SUCCESS
[IPADDR] - Pushing Nginx Config
rm: cannot remove 'dev.verradohs.tech_location': No such file or directory
[IPADDR] - Pushing Nginx Config: SUCCESS
[IPADDR] - Cleaning Up SSL Certificates
[IPADDR] - Cleaning Up SSL Certificates: SUCCESS

Started TaskList: Start proxy
[IPADDR] - Start proxy
mup-nginx-proxy
Error response from daemon: endpoint mup-nginx-proxy not found
Removed mup-nginx-proxy
mup-nginx-proxy-letsencrypt
Error response from daemon: endpoint mup-nginx-proxy-nginx-proxy not found
Removed mup-nginx-proxy-letsencrypt
latest: Pulling from jrcs/letsencrypt-nginx-proxy-companion
Digest: sha256:0d24f841a5bcd19c1fbc026de2fd52600e4c553c1d6abeaae742525f53d85c0f
Status: Image is up to date for jrcs/letsencrypt-nginx-proxy-companion:latest
docker.io/jrcs/letsencrypt-nginx-proxy-companion:latest
Using default tag: latest
latest: Pulling from jwilder/nginx-proxy
Digest: sha256:dfc0666b9747a6fc851f5fb9b03e65e957b34c95d9635b4b5d1d6b01104bde28
Status: Image is up to date for jwilder/nginx-proxy:latest
docker.io/jwilder/nginx-proxy:latest
Pulled jwilder/nginx-proxy and jrcs/letsencrypt-nginx-proxy-companion
caeb01422c681be67c0f17f84772873042cac62d43a9ae850f1a8de49d499c4b
Ran nginx-proxy as mup-nginx-proxy
8d1ce30b79529f124c56c9f32ebf08348be3133945de983040ce8d967507ff7b
Ran jrcs/letsencrypt-nginx-proxy-companion
[IPADDR] - Start proxy: SUCCESS

Started TaskList: Setup Mongo
[IPADDR] - Setup Environment
[IPADDR] - Setup Environment: SUCCESS
[IPADDR] - Copying mongodb.conf
[IPADDR] - Copying mongodb.conf: SUCCESS

Started TaskList: Start Mongo
[IPADDR] - Start Mongo
3.4.1: Pulling from library/mongo
Digest: sha256:aff0c497cff4f116583b99b21775a8844a17bcf5c69f7f3f6028013bf0d6c00c
Status: Image is up to date for mongo:3.4.1
docker.io/library/mongo:3.4.1
mongodb
killing process with pid: 1
mongodb
Running mongo:3.4.1
03f00edcd79ee1856fadbd5daacb8a047fd0b026a15a30c0fb3ace2497bec74b
Creating replica set
MongoDB shell version v3.4.1
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.4.1
{
        "info" : "try querying local.system.replset to see current configuration",
        "ok" : 0,
        "errmsg" : "already initialized",
        "code" : 23,
        "codeName" : "AlreadyInitialized"
}
[IPADDR] - Start Mongo: SUCCESS

Next, you should run:
    mup deploy