easy-docker-deploy
v1.1.0
Published
CLI to pull, build and restart docker compose projects
Readme
easy-docker-deploy
CLI to pull repositories and run their Docker container via Compose.
Usage
- Add a
edd.ymlfile into your repository (see below for syntax) - Run
npx easy-docker-deploy {repo-name}
Available commands:
--deploy: default if unspecified: pulls, optionally builds and finally starts or restarts the container
--build: pulls and builds
--restart: restarts the container
edd.yml syntax
# Url of the repository
repo_url: <repo url>
# Name of the container
container_name: <container name>
# Build before start
# Default: false
# If true, builds the container before starting
should_build: <true|false>
# CD into repo dir
# Default: false
# If true, CDs into the repo's dir before runnning the Docker commands
cd_into: <true|false>