Skip to content

djylb/mmproxy-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mmproxy-docker

mmproxy-docker is a docker for go-mmproxy.

DockerHub GHCR

Usage

[Listening port]:[Target port]

1. Using Environment Variables

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:latest

2. Using Command Line Arguments

Start 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.


Configuration

  • Environment Variable PORT_MAPPINGS: Set port mappings, e.g. 15000:5000,15001:5001.
  • Default Port Mappings: If PORT_MAPPINGS is not provided via environment variable or command-line arguments, it defaults to 15000:5000.

References

About

Docker for MMProxy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages