Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

PassiveLemon/zoraxy-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Docker container is no longer being updated in here. Check out the official GitHub Zoraxy repository here and the official Docker repository here.

Repo Version Size Pulls

Setup:

Although not required, it is recommended to give Zoraxy a dedicated location on the host to mount the container. That way, the host/user can access them whenever needed. A volume will be created automatically within Docker if a location is not specified.

You may also need to portforward your 80/443 to allow http and https traffic. If you are accessing the interface from outside of the local network, you may also need to forward your management port. If you know how to do this, great! If not, find the manufacturer of your router and search on how to do that. There are too many to be listed here.

Using Docker run

docker run -d --name (container name) -p (ports) -v (path to storage directory):/zoraxy/data/ -e ARGS=(your arguments) -e VERSION=(version) passivelemon/zoraxy-docker:latest

Using Docker Compose

version: '3.3'
services:
  zoraxy-docker:
    image: passivelemon/zoraxy-docker:latest
    container_name: (container name)
    ports:
      - 80:80                                        # Http port
      - 443:443                                      # Https port
      - (external):8000                              # Management portal port
    volumes:
      - (path to storage directory):/zoraxy/config/  # Host directory for Zoraxy file storage
    environment:
      ARGS: '(your arguments)'                       # The arguments to run with Zoraxy. Enter them as they would be entered normally.
      VERSION: '(version in x.x.x)'                  # The release version of Zoraxy.
Operator Need Details
-d Yes will run the container in the background.
--name (container name) No Sets the name of the container to the following word. You can change this to whatever you want.
-p (ports) Yes Depending on how your network is setup, you may need to portforward 80, 443, and the management port.
-v (path to storage directory):/zoraxy/config/ Recommend Sets the folder that holds your files. This should be the place you just chose. By default, it will create a Docker volume for the files for persistency but they will not be accessible.
-e ARGS=(your arguments) No Sets the arguments to run Zoraxy with. Enter them as you would normally. By default, it is ran with -port=:8000 -noauth=false
-e VERSION=(version) Recommended Sets the version of Zoraxy that the container will download. Must be a supported release found on the Zoraxy GitHub. Make sure that it is not set to the containers version. Defaults to the latest if not set.
passivelemon/zoraxy-docker:latest Yes The repository on Docker hub. By default, it is the latest version that I have published.

Examples:

Docker Run

docker run -d --name zoraxy -p 80:80 -p 443:443 -p 8005:8000/tcp -v /home/docker/Containers/Zoraxy:/zoraxy/config/ -e ARGS="-port=:8000 -noauth=false" -e  VERSION="2.6.5" passivelemon/zoraxy-docker:latest

Docker Compose

version: '3.3'
services:
  zoraxy-docker:
    image: passivelemon/zoraxy-docker:latest
    container_name: zoraxy
    ports:
      - 80:80
      - 443:443
      - 8005:8000/tcp
    volumes:
      - /home/docker/Containers/Zoraxy:/zoraxy/config/
    environment:
      ARGS: '-port=:8000 -noauth=false'
      VERSION: '2.6.5'