Sha256: d51afb44c8bd022ad108076d04ca044a9124eacab32b39e528b64f2f0b9a284e

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

# Consul Stockpile

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'consul_stockpile'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install consul_stockpile

## Usage

(On AWS)
`docker run -d --net=host outstand/consul_stockpile start -b bucket -n backup`

## Development

- `docker volume create --name consul_stockpile_fog`
- `./build_dev.sh`
- `docker run -it --rm --net=host -v $(pwd):/consul_stockpile -v consul_stockpile_fog:/fog -e FOG_LOCAL=true outstand/consul_stockpile:dev start -b bucket -n backup`

To release a new version:
- Update the version number in `version.rb` and `Dockerfile.release` and commit the result.
- `./build_dev.sh`
- `docker run -it --rm -v ~/.gitconfig:/root/.gitconfig -v ~/.gitconfig.user:/root/.gitconfig.user -v ~/.ssh/id_rsa:/root/.ssh/id_rsa -v ~/.gem:/root/.gem outstand/consul_stockpile:dev rake release`
- `docker build -t outstand/consul_stockpile:VERSION -f Dockerfile.release .`
- `docker push outstand/consul_stockpile:VERSION`

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/outstand/consul_stockpile.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
consul_stockpile-0.1.5 README.md