This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APPLICATION_NAME = scubadiveslog # main app name or workdir defined in Dockerfile | |
WEB_CONTAINER_NAME = scuba-web # web container as defined in docker-compose | |
.DEFAULT_GOAL := help | |
# Docker stuff | |
attach: ## Attach running web container to see logs | |
docker attach $(APPLICATION_NAME)_$(WEB_CONTAINER_NAME)_1 | |
up: ## Run containers | |
docker-compose up -d |