Onion Pipe Relay Engine: Enterprise Synchronous Tor Gateway & Decentralized E2EE Bridge
788
The Onion-Pipe Relay Engine is the backbone of the community network. It manages encrypted traffic transit, handles bridge discovery, and provides a professional dashboard for webhook management.
This unified image supports three distinct roles:
This engine is built for production security. Instead of exposing passwords in environment variables, we use Docker Secrets.
Before deploying, create a secrets/ directory and add the following files (no file extensions):
admin_user: Your dashboard login name.admin_password: A strong password for the dashboard.redis_password: A long random string for the database.session_secret: A random string for encrypting user sessions.github_client_id: (Optional) Your GitHub OAuth ID for identity verification.github_client_secret: (Optional) Your GitHub OAuth Secret.💡 Pro-Tip: Zero-Downtime Rotation You can change the
admin_useroradmin_passwordfiles on your host and reload them into the running container without a restart by running:docker kill -s SIGHUP onion-pipe-master
Perfect for organizations that want to host their own private "LOOHIVE-like" network.
services:
master:
image: loohive/onion-pipe-relay:latest
environment:
- MASTER=true
- REDIS_URL=redis://redis:6379
- PUBLIC_RELAY_URL=https://your-domain.com
secrets:
- admin_user
- admin_password
- github_client_id
- github_client_secret
- session_secret
- redis_password
depends_on:
redis:
condition: service_healthy
redis:
image: redis:alpine
command: ["sh", "-c", "redis-server --requirepass \"$$(tr -d '\\r' < /run/secrets/redis_password)\""]
secrets:
- redis_password
Bridges do not require a database or complex setup. They are stateless "blind" routers.
services:
bridge:
image: loohive/onion-pipe-relay:latest
environment:
- BRIDGE_MODE=true
- RELAY_URL=wss://onion-pipe.loohive.com # Connect to the public LOOHIVE network
restart: always
| Mode | Flag | Target User |
|---|---|---|
| Community Bridge | BRIDGE_MODE=true | Volunteers helping the public LOOHIVE network. |
| Master Controller | MASTER=true | Organizations hosting their own private tunnel server. |
| Standalone Relay | (Default) | Developers running a direct entry point. |
Developed by the LOOHIVE Infrastructure Team.
This is open-source software provided by LOOHIVE. Tor is a trademark of The Tor Project, Inc. All trademarks belong to their respective owners.
Content type
Image
Digest
sha256:5daea61ff…
Size
64.3 MB
Last updated
5 months ago
docker pull loohive/onion-pipe-relay:v1