Refactor Dockerfile and docker-compose to use supervisord for process management and update cloudflared installation method

This commit is contained in:
2025-08-15 14:05:00 +05:30
parent e5827cfa42
commit c7d65c612f
2 changed files with 34 additions and 29 deletions

View File

@@ -1,5 +1,3 @@
version: '3.8'
services:
backend:
build:
@@ -7,7 +5,7 @@ services:
dockerfile: Dockerfile.tunnel
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- //var/run/docker.sock:/var/run/docker.sock
# Port is only exposed locally, traffic comes through the tunnel
ports:
- "127.0.0.1:8080:8080"