Add Dockerfile and Makefile for cloudflared tunnel setup; include startup script

This commit is contained in:
2025-08-14 23:49:19 +05:30
parent 5902300c95
commit 9474d2f633
3 changed files with 40 additions and 9 deletions

21
new-backend/Makefile Normal file
View File

@@ -0,0 +1,21 @@
.PHONY: build run run-detached stop logs
# Build the image
build:
docker-compose -f docker-compose.tunnel.yml build
# Run the container
run: build
docker-compose -f docker-compose.tunnel.yml up
# Run in detached mode
run-detached: build
docker-compose -f docker-compose.tunnel.yml up -d
# Stop the container
stop:
docker-compose -f docker-compose.tunnel.yml down
# View logs
logs:
docker-compose -f docker-compose.tunnel.yml logs -f