aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2022-02-27 12:35:36 -0700
committerCody Hiar <cody@hiar.ca>2022-02-27 12:35:36 -0700
commitdee5cca9258a4cdc4ccd70ca013bd929ae92d318 (patch)
tree6d03d136062ea97a854d82b5109d91346313683b
parentd2723dd9036da7fb212cc3ef7c1a31d125e14a72 (diff)
Rename project to something more succinctHEADmaster
-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: