mirror of
https://github.com/masterking32/MasterHttpRelayVPN.git
synced 2026-05-17 21:24:37 +03:00
feat: add Docker support with Dockerfile and docker-compose configuration
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user