This repository has been archived by the owner. It is now read-only.
DEPRECATED. See README.md
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dockerfiles
demo
doc
.gitignore
LICENSE
Makefile
README.md
README.ru.md
baseos.yml
baseos32.yml
baseos8.yml
build-modperl.yml
build-pgrest.yml
consul.yml
dbinit.sh
install.sh
nginx.yml
pdns.yml
postgres.md
postgres.yml
srvinit.sh
syncsup.yml
syncthing.yml

README.md

WARNING: this project is deprecated. Now I am use dcape for this purposes.

consup

consup - shared containers orchestration

Read this in other languages: English, Russian


This repository aimed to create and use Docker containers with fidm tool and contains:

Usage example

Lets say we need 2 web application containers both uses postgresql.

Web application uses consup_nginx as base container and has the following config (fidm.yml)

# container name
image: consup_nginx

# required images
requires:
# frontend nginx routes requests to online containers
- consup/nginx mode=common
# single postgresql instance for every which wants "mode=common"
- consup/postgres mode=common

# link master service registration database
links:
- consup/consul    # consul.yml

Running fidm start in application dir will start its container and all not started dependencies.

All containers with same row consup/postgres mode=common in config will use the same postgresql database cluster

Dependensies

Install

For dealing with prepared containers:

wget -qO- https://raw.githubusercontent.com/LeKovr/consup/master/install.sh | sh

For Dockerfile development:

git clone https://github.com/LeKovr/consup.git

Applications supported

See Dockerfiles/*/ for details

Container structure

Container structure

License

The MIT License (MIT), see LICENSE.

Copyright (c) 2014 - 2017 Alexey Kovrizhkin lekovr@gmail.com