mirror of
https://github.com/Sosokker/go-chi-oapi-codegen-todolist.git
synced 2025-12-19 05:54:07 +01:00
chore: remove docker related command in makefile
This commit is contained in:
parent
2e31565a8f
commit
bce5a18f66
@ -89,19 +89,4 @@ migrate-force:
|
||||
|
||||
clean:
|
||||
@echo ">> Cleaning build artifacts..."
|
||||
rm -rf $(OUTPUT_DIR)
|
||||
|
||||
docker-db:
|
||||
@echo ">> Starting PostgreSQL container..."
|
||||
@docker run --name todolist-db -e POSTGRES_USER=user \
|
||||
-e POSTGRES_PASSWORD=password \
|
||||
-e POSTGRES_DB=todolist \
|
||||
-p 5432:5432 -d postgres:15-alpine
|
||||
@echo ">> Waiting for DB to be ready..."
|
||||
@sleep 5
|
||||
@echo ">> DB_URL=$(DB_URL)"
|
||||
|
||||
docker-db-stop:
|
||||
@echo ">> Stopping and removing PostgreSQL container..."
|
||||
@docker stop todolist-db || true
|
||||
@docker rm todolist-db || true
|
||||
rm -rf $(OUTPUT_DIR)
|
||||
Loading…
Reference in New Issue
Block a user