feat: add Docker support with Dockerfile and docker-compose configuration

This commit is contained in:
Abolfazl
2026-05-05 07:01:59 +03:30
parent e9fda55adf
commit e300493b85
5 changed files with 144 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
name: masterhttprelayvpn
services:
proxy:
build: .
container_name: masterhttprelayvpn
restart: unless-stopped
ports:
- "8085:8085" # HTTP proxy
- "1080:1080" # SOCKS5 proxy
volumes:
# Mount your config.json so secrets stay outside the image.
- ./config.json:/app/config.json:ro
# Persist the MITM CA certificate across container restarts.
# On first run the container generates ca/ca.crt and ca/ca.key here.
- ./ca:/app/ca
networks:
- proxy-net
networks:
proxy-net:
name: masterhttprelayvpn-net
driver: bridge