-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (29 loc) · 1.14 KB
/
Makefile
File metadata and controls
35 lines (29 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: help
help: ## Show the help.
@echo "Usage: make <target>"
@echo ""
@echo "Targets:"
@fgrep "##" Makefile | fgrep -v fgrep
.PHONY: run
run: ## Run containers
docker compose -f docker-compose-airbyte.yaml --env-file airbyte.env up -d
docker compose -f docker-compose.yaml --env-file .env up -d
@echo "Metabase: http://localhost:3000"
@echo "Airbyte: http://localhost:8000"
.PHONY: stop
stop: ## Stop containers
docker compose -f docker-compose-airbyte.yaml --env-file airbyte.env stop
docker compose -f docker-compose.yaml --env-file .env stop
.PHONY: down
down: ## Spin down containers
docker compose -f docker-compose-airbyte.yaml --env-file airbyte.env down
docker compose -f docker-compose.yaml --env-file .env down
.PHONY: clean
clean: ## Clean project
@echo "Deleting untracked files"
@rm -r dbt/logs
git clean -fdx
.PHONY: update-airbyte
update-airbyte: ## Update Airbyte
curl -L -o airbyte.env https://raw.githubusercontent.com/airbytehq/airbyte/master/.env
curl -L -o docker-compose-airbyte.yaml https://raw.githubusercontent.com/airbytehq/airbyte/master/docker-compose.yaml