HUB
Sign inSign up

nobody1997/px-proxy

By nobody1997

•Updated almost 4 years ago

The PX proxy from genotrace in a docker container. Sourcecode: https://github.com/genotrance/px

Image
0

947

nobody1997/px-proxy repository overview

⁠PX Proxy in a Docker Container

This is a Docker Image created by me after trying out a long time to deploy PX in docker.
This image is created from the original PX proxy from genotrace: https://github.com/genotrance/px⁠

Since I don't want everybody to have the same issues, I decided to create an image for everyone and document it here.

⁠Configuration

You need to set the following parameters as environment variables:

  • username=domain\username
  • password=your-password
  • proxy_url=your-proxy-url
  • workers=2
  • threats=5
  • logging=1

Adjust the variables to your belongings. You must set all of these, otherwise the container will not run.

⁠Start PX Proxy

PX needs to run due to gnome keyring with higher privileges. This can be archieved by using the --privileged flag or adding the cap_add ipc_lock functionality.

You have to adjust the following settings:

  • username=domain\user
  • password=Your-password
  • proxy_url=my-proxy.company.com
docker run --privileged -e "username=domain\user" -e "password=mypass" -e "proxy_url=my-proxy.company.com:port" -p 3128:3128 nobody1997/px-proxy:latest

⁠Run PX Proxy with Docker compose

Simpy run this docker-compose snippet and adjust the variables to your belongings. You have to adjust the following settings:

  • username=domain\user
  • password=Your-password
  • proxy_url=my-proxy.company.com
version: '3.5'
services:
  px_proxy:
    image: nobody1997/px-proxy:latest
    container_name: px_proxy
    environment:
      - username=domain\user
      - password=Your-password
      - proxy_url=my-proxy.company.com:port
      - workers=2
      - threats=5
      - logging=1
    cap_add:
      - ipc_lock
    ports:
      - 3128:3128
Tag summary
Recent tags
Content type
Image
Digest
sha256:275e92cda…
Size
245.7 MB
Last updated
almost 4 years ago
docker pull nobody1997/px-proxy:latest