Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 999 Bytes

docker.md

File metadata and controls

68 lines (48 loc) · 999 Bytes

docker

setup

variables

export DOCKER_IMAGE_URL = $(AWS_ECR_DOMAIN)/$(NAME)
export DOCKER_TAG = $(GIT_TAG)

The variable $(AWS_ECR_DOMAIN) comes from aws.mk and documented in aws.md. The variable $(GIT_TAG) comes from common.mk and documented in common.md.

docker compose file

dkr_build: DKR_COMPOSE_FILE = -f ./docker-compose.build.yaml

commands

dkr_pull

make dkr_pull

dkr_build

make dkr_build

dkr_run:

make dkr_run

dkr_up:

make dkr_up

dkr_down:

make dkr_down

dkr_push:

make dkr_push