Skip to main content

docker-compose on hyper infra

Project description

Hyper-Compose

Command line utility which installs docker-compose application into the hyper.sh cloud

As Hyper is (loosly) based on the docker-api, we can re-use docker-compose and docker-py, but hack out the network part to use the authentication stuff from hyper

POC

This project is more a PoC. Some features of docker-compose are not working

  • Networking configuration

  • container re-creation (they need to be removed, and the created again)

  • IP affectation (you will need to use original hyper command line in order to affect public IP addresses to your containers)

Future plans

The official hyper-compose functionality from hyper crew will come later with better integration to the hyper system. It will be directly integrated into the “hyper” command line utility, and will be implemented mostly server side, to provide better coordination, and status monitoring.

Install from pip

pip install hyper-compose

How to develop

Setup virtualenv in order to install all dependencies:

virtualenv sandbox
. ./sandbox/bin/activate
pip install -U pip
pip install -e .

Now you have hyper-compose in your path, and you can use it like docker compose:

cd path/to/composeyml
hyper-compose up
hyper-compose stop
hyper-compose rm

Note that you still need to use hyper command line in order to associate floating IP to your containers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

hyper_compose-0.1.4-py2-none-any.whl (41.2 kB view details)

Uploaded Python 2

File details

Details for the file hyper_compose-0.1.4-py2-none-any.whl.

File metadata

File hashes

Hashes for hyper_compose-0.1.4-py2-none-any.whl
Algorithm Hash digest
SHA256 26fdf08b5a4dcfa80a492f72fd551140e449d5ff367e6c3b28ebd743c12e7358
MD5 fb05e5db6ba208b1e88bffecaed1b0c0
BLAKE2b-256 70bde7c16e18a17d49bd66eff102eb71dfe78dfebfc548a714d6eab9cea68e81

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page