aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rw-r--r--docker-compose.yml4
2 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index aa51099..e1dc540 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,21 @@
.PHONY: build
+DOCKER_COMPOSE = docker-compose -p slack_mention_reader
+
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
build: ## Build the Docker image
- docker-compose -p slacky build
+ ${DOCKER_COMPOSE} build
up: build ## Bring the container up
- docker-compose -p slacky up -d
+ ${DOCKER_COMPOSE} up -d
down: ## Stop the container
- docker-compose -p slacky stop
+ ${DOCKER_COMPOSE} stop
enter: ## Enter the running container
- docker-compose -p slacky exec backend /bin/bash
+ ${DOCKER_COMPOSE} exec backend /bin/bash
clean: down ## Remove stoped containers
- docker-compose -p slacky rm -f
+ ${DOCKER_COMPOSE} rm -f
diff --git a/docker-compose.yml b/docker-compose.yml
index 29ff964..e3c1d51 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -5,8 +5,8 @@ services:
context: ./
dockerfile: ./docker/Dockerfile
network_mode: "bridge"
- container_name: slacky
- image: thornycrackers/slacky
+ container_name: slack_mention_reader
+ image: thornycrackers/slack-mention-reader
ports:
- "8000"
volumes: