chore: add Makefile to auto-create saas_network before docker compose up
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
15
deployments/Makefile
Normal file
15
deployments/Makefile
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
NETWORK = saas_network
|
||||||
|
|
||||||
|
.PHONY: network up down logs
|
||||||
|
|
||||||
|
network:
|
||||||
|
docker network inspect $(NETWORK) >/dev/null 2>&1 || docker network create $(NETWORK)
|
||||||
|
|
||||||
|
up: network
|
||||||
|
docker compose up --build -d
|
||||||
|
|
||||||
|
down:
|
||||||
|
docker compose down
|
||||||
|
|
||||||
|
logs:
|
||||||
|
docker compose logs -f
|
||||||
Reference in New Issue
Block a user