-
Notifications
You must be signed in to change notification settings - Fork 192
FAQ Frequently Asked Questions
Marcel edited this page Jun 21, 2024
·
11 revisions
On this Page you find answers to often asked questions. If you do not find the information you need, or you have a specific question, then feel free to open a discussion. You found a bug? Then please write an issue with detailed informations!
Yes a docker image is provided by passivelemmon, you can find more information in the docker readme!
Here is an example docker-compose.yml:
services:
zoraxy:
image: zoraxydocker/zoraxy:latest
container_name: zoraxy
restart: unless-stopped
ports:
- 80:80
- 443:443
- 8005:8000/tcp
volumes:
- ./config:/opt/zoraxy/config/
- /var/run/docker.sock:/var/run/docker.sock
environment:
PORT: "8000"
FASTGEOIP: "true"
Create start.sh in the zoraxy folder with:
nano start.sh
Put in those lines
#!/bin/bash
./zoraxy -port=:8000
If you want faster GeoIP-Lookup, you can add -fastgeoip=true
after -port=:8000
. Zoraxy will then use more RAM.
See v2.6.6 Release
Make it executable with
chmod +x start.sh
Create systemd-service file with
sudo nano /etc/systemd/system/zoraxy.service
Put in following lines:
[Unit]
Description=Zoraxy Reverse Proxy Server
#Waits for network to be online
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
#No sudo required in start.sh
User=root
Group=root
#Folder where zoraxy is located
WorkingDirectory=/zoraxy
#absolute path for start.sh
ExecStart=/bin/bash /zoraxy/start.sh
[Install]
WantedBy=multi-user.target
Start automaticly Zoraxy with:
sudo systemctl enable --now zoraxy
Now status messages can be showed with:
sudo systemctl status zoraxy
Source: https://github.com/tobychui/zoraxy/issues/8