mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 09:59:13 +00:00
fix: makefile and update dependences
This commit is contained in:
parent
47cde83c7a
commit
d9803555d1
7 changed files with 28 additions and 25 deletions
2
Makefile
2
Makefile
|
@ -2,10 +2,12 @@ COMPOSE_FILES := surrealdb surrealdb.dev
|
|||
|
||||
.PHONY: $(addprefix up-,$(COMPOSE_FILES)) $(addprefix down-,$(COMPOSE_FILES))
|
||||
|
||||
up: up-surrealdb
|
||||
$(addprefix up-,$(COMPOSE_FILES)):
|
||||
make down-$(subst up-,,$@)
|
||||
docker compose -f docker-compose-$(subst up-,,$@).yml up --build --pull always -d
|
||||
|
||||
down: down-surrealdb
|
||||
$(addprefix down-,$(COMPOSE_FILES)):
|
||||
docker compose -f docker-compose-$(subst down-,,$@).yml down --volumes --remove-orphans
|
||||
docker network prune -f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue