Skip to content

The most straightforward way to deploy Docker images

License

Notifications You must be signed in to change notification settings

eiskrenkov/anchor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anchor - Simple containers deployment tool

It builds your image using docker-compose, pushes it to the registry of your choise, pulls it onto remote machine and runs docker-compose up, it's as simple as that!

Installation

Install anchor on your machine as any other Ruby gem

gem install anchor --source "https://rubygems.pkg.github.com/eiskrenkov"

Usage

Place deploy.yml in your project's directory

root: /path/to/project
required_files:
  - foo.bar

stages:
  production:
    user: root
    host: host.example.com
    docker:
      compose:
        filename: docker-compose-production.yml

Run anchor deploy --stage production [--no-build] [--no-push]

About

The most straightforward way to deploy Docker images

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages