Skip to content
Marat Zimnurov edited this page Aug 30, 2020 · 2 revisions

All information about Docker usage

Running the project with Docker & Docker Compose

npm install

docker-compose pull 9e3u2f0b1/sent-template:latest
docker-compose up

Open up localhost:3000 and start clicking around.

Docker scripts

# will build and deploy container locally
sh scripts/docker-local-build-and-deploy.sh

# will build and publish container to registry
sh scripts/docker-local-build-and-publish.sh

# will remove all containers & images
sh scripts/docker-remove-all

Triggers to deploy

Push trigger

Provides automatic deploy to Docker Hub on each push to master

Note:

You need provide and fill in DOCKER_USERNAME and DOCKER_PASSWORD to Secrets

Deploy to Docker Hub will not work without these secrets

Useful links

Clone this wiki locally