Skip to main content

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.

Install

pip install ems-eploy

Directory structure and required files

Deploy concatenates a docker-compose command. The following files are recognized

  1. docker-compose.yml Required: Base file
  2. docker-compose.deploy.yml Required: This file is added as an additional docker-compose file
  3. docker-compose.debug.yml Optional: This files is used instead of docker-compose.deploy.yml when using the debug flag

How to use

The following flags are always added to the docker-compose command:

  • --force-recreate
  • --renew-anon-volumes
  • --build

Deploy

To deploy the app, simply run

deploy

Note that it will automatically add the -d flag which detaches from the process afterwards.

Debug

To run in debug mode, run

deploy debug

Note that it will NOT automatically detach - this can however be supplied. See the next section for additional flags

Additional flags

  • -d Detaches the process (this is automatically done in deploy-mode, but not in debug-mode)
  • -v Writes the resulting command to the terminal.

Release files for ems-eploy 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ems-eploy 0.0.5
File Size Uploaded
ems-eploy-0.0.5.tar.gz 2.1 kB Details

Release files / ems-eploy-0.0.5.tar.gz

Download URL ems-eploy-0.0.5.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cef598b7b2d83b17025cabfad329e1d94e5fae9552a3283e3b45f4bb0722ea22
BLAKE2b-256 checksum
How to use checksums
8c04a896ef2bcf14b3b2ed282dad813c8ee159fc8a37aecbf32385808d129206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page