No project description provided
Simple tool for managing the docker containers dependency suitable for local development envorionment.
Current version: none
Release date: not released yet
This tool has been created to manage your docker containers while you developing an application especially when it uses depending services and each service is running in a separate container. For example, imagine you have a microservices architecture and want to work on one of the services but to run it on your local machine you may have to run other services at the same time to get it working properly. You could still use docker-compose tool but it is not as flexible and easy to manage when it comes to choose which services you want to run at the moment.
Using aplite you can: - run a docker container with all it’s depending containers using a single command - stop any container (or pause) and start again any time without touching any other containers - run only depending containers which are needed to run for the project you working on (don’t need to run whole architecture at the same time) - add extra tasks when container starts or stop using apltie configuration file
There are no special requirements apart from having Docker installed on your machine. Then to install aplite you need to run these commands:
$ wget https://gitlab.com/barell/aplite/master.zip $ sudo unzip master.zip /etc $ sudo symlink /usr/bin/aplite /etc/aplite/bin/aplite
To check if aplite has been successfully installed on your computer use:
$ aplite version
It should output something like:
$ aplite v0.1 (2017-02-22); docker-api: v1.24
You may also want to check if your docker installation is compatible with aplite (more info to add).
To start using aplite in your project you need to create an aplite.config file which must contain some basic info about handling your docker container:
name test-project image php7-apache
If you put this file inside your project and run
$ aplite up
It will run a new container using php7-apache image. By default, there are no files mounted to the image but it can be simply done by adding mount command to the config file:
name test-project image php7-apache mount . /var/www/html
Every time you change the aplite.config, run the “up” command to re-run all the containers. To stop all containers, use “down” command:
$ aplite down
Note: it will only stop containers initialized by aplite. You can also stop and remove containers by adding the -r flag:
$ aplite down -r
Issues and feedback
Please feel free to report any issues or give us some feedback on new features.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|aplite-0.1.dev1-py3.5.egg (4.3 kB) Copy SHA256 hash SHA256||Egg||3.5||Mar 19, 2017|
|aplite-0.1.dev1.tar.gz (3.4 kB) Copy SHA256 hash SHA256||Source||None||Mar 19, 2017|