https://github.com/zodern/mup-docker-deploy
Plugin for Meteor Up to deploy apps using a custom docker image
https://github.com/zodern/mup-docker-deploy
Last synced: 11 months ago
JSON representation
Plugin for Meteor Up to deploy apps using a custom docker image
- Host: GitHub
- URL: https://github.com/zodern/mup-docker-deploy
- Owner: zodern
- Created: 2018-04-03T17:28:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T20:59:51.000Z (almost 2 years ago)
- Last Synced: 2025-04-22T22:41:08.608Z (about 1 year ago)
- Language: JavaScript
- Size: 1.25 MB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# mup-docker-deploy
Deploy using a custom `Dockerfile`.
This plugin is under development and is missing some features
## Getting started
Before starting, you should have a `Dockerfile` in your app's directory.
First, install mup and mup-docker-deploy with:
```bash
npm i -g mup mup-docker-deploy
```
Second, create a config with:
```bash
mup init
```
Open the config, and make the following adjustments:
For each server:
- host - Usually is the IP Address of the server
- server authentication - You can use a password or set pem to the path to a private key. If neither are set, it uses ssh-agent
In the `app` section:
- name: A unique name, with no spaces
- path: Path to the app, relative to the config.
- type: Set to `docker-image` to let mup know that this plugin will manage the app
Third, setup the server. Mup will install everything needed to run the app. Run:
```bash
mup setup
```
Fourth, deploy the app. Run
```bash
mup deploy
```
Mup will upload your app, build the docker image, and run it.