mmproxy-docker is a docker for go-mmproxy.
[Listening port]:[Target port]
Set the port mappings using the environment variable PORT_MAPPINGS and run the container:
docker run -d --restart=always \
--name go-mmproxy \
--network host \
--cap-add NET_ADMIN \
-e PORT_MAPPINGS="15000:5000,15001:5001" \
duan2001/mmproxy:latestStart the container by passing port mappings via command-line arguments:
docker run -d --restart=always \
--name go-mmproxy \
--network host \
--cap-add NET_ADMIN \
duan2001/mmproxy:latest "15000:5000,15001:5001"If no port mappings are provided, it defaults to 15000:5000.
- Environment Variable
PORT_MAPPINGS: Set port mappings, e.g.15000:5000,15001:5001. - Default Port Mappings: If
PORT_MAPPINGSis not provided via environment variable or command-line arguments, it defaults to15000:5000.