Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/firstandthird/shipment
Easy deployment with docker and nginx
https://github.com/firstandthird/shipment
Last synced: 3 days ago
JSON representation
Easy deployment with docker and nginx
- Host: GitHub
- URL: https://github.com/firstandthird/shipment
- Owner: firstandthird
- Created: 2014-09-02T22:06:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-14T18:33:59.000Z (over 9 years ago)
- Last Synced: 2024-04-08T15:13:19.250Z (10 months ago)
- Language: Shell
- Homepage:
- Size: 531 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# shipment
`shipment` is a set of simple bash scripts that handles deployment to your servers. It uses docker to build your apps into containers and uses nginx and docker-gen to load balance incoming traffic.
## Install
```
curl https://raw.githubusercontent.com/firstandthird/shipment/master/install.sh | sudo bash
```## Commands
### Key
Returns a deployment key that you can add to github.
##### Usage:
```
shipment key
```---
### Create
The create command creates an new app for deployment.
##### Usage:
```
shipment create [options]
```##### Options:
```
Required:
-n name of app
-r app repo [git://github.com/owner/repo.git]Optional:
-u host url [domain.com]
-b branch [default: master]
-d arguments to pass to docker, make sure to double quote
```---
### Deploy
Fetches latest code from the repo, builds the docker container, runs the container, adds to nginx and stops older containers.
##### Usage:
```
shipment deploy [name]
```---
### Start
Starts an app
### Stop
Stops an app
### Fetch
Fetches latest code for app
### Build
Builds docker container for app
### Run
Runs an app
### Scale
Scale up/down an app
### Logs
Display logs for app
### Update
Updates shipment