A small deploy utility package
EMS Deploy script
This project provides a general-purpose deploy script for the EMS projects. It runs the suitable docker-compose command based on the available docker-compose files located in the directory.
pip install ems-eploy
Directory structure and required files
Deploy concatenates a
docker-compose command. The following files are recognized
docker-compose.ymlRequired: Base file
docker-compose.deploy.ymlRequired: This file is added as an additional docker-compose file
docker-compose.debug.ymlOptional: This files is used instead of
docker-compose.deploy.ymlwhen using the
How to use
The following flags are always added to the
To deploy the app, simply run
Note that it will automatically add the
-d flag which detaches from the process afterwards.
To run in debug mode, run
Note that it will NOT automatically detach - this can however be supplied. See the next section for additional flags
-dDetaches the process (this is automatically done in deploy-mode, but not in debug-mode)
-vWrites the resulting command to the terminal.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.