https://github.com/maltegrosse/zero-ui-noauth
Reverse proxy disables auth for zero-ui
https://github.com/maltegrosse/zero-ui-noauth
Last synced: 10 months ago
JSON representation
Reverse proxy disables auth for zero-ui
- Host: GitHub
- URL: https://github.com/maltegrosse/zero-ui-noauth
- Owner: maltegrosse
- License: mit
- Created: 2022-03-31T07:01:51.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-05T06:35:04.000Z (about 4 years ago)
- Last Synced: 2024-06-21T19:56:00.048Z (almost 2 years ago)
- Language: Go
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zero-UI No Auth Proxy
Simple reverse proxy which injects the token and thus disables auth.
see https://github.com/dec0dOS/zero-ui
Available at https://hub.docker.com/r/maltegrosse/zero-ui-noauth
### Environment variables
```
PROTOCOL (http|https)
AUTH_PATH (/auth/login)
EXPOSE_PORT (9999)
CONNECT_HOST=192.168.2.1
CONNECT_PORT=4000
USER (admin)
PASSWORD (zero-ui)
```
### Run Docker
Add environment variables..
```
docker run -ti -e ... maltegrosse/zero-ui-noauth:1.0.0
```
### Run Docker-Compose
```
version: "3.7"
services:
zt-ui-noauth:
image: maltegrosse/zero-ui-noauth:1.0.0
container_name: zu-ui-noauth
restart: unless-stopped
expose:
- "9999"
ports:
- "9999:9999"
depends_on:
- zero-ui
environment:
- PROTOCOL=http
- AUTH_PATH=/auth/login
- EXPOSE_PORT=9999
- CONNECT_HOST=zu-main
- CONNECT_PORT=4000
- USER=admin
- PASSWORD=zero-ui
...
```
### Build Docker
```
docker build -t maltegrosse/zero-ui-noauth:latest .
```
### Additional Notes
Please dont abuse this proxy server for malicious js injection