Wiredoor CLI allows you to connect, expose, and manage nodes and services securely.
5.0K
Expose private services securely through reverse VPN tunnel powered by WireGuard and NGINX.
Documentation • CLI • Helm Charts
Wiredoor is a self-hosted, open-source ingress-as-a-service platform that allows you to expose applications and services running in private or local networks to the internet—securely, reliably, and without complex infrastructure.
The Wiredoor Docker Gateway is a lightweight container that connects to your Wiredoor Server as a gateway node, allowing you to expose services publicly from other containers in the same Docker network.
This is especially useful for self-contained Docker stacks where you want to route traffic to one or multiple services from public internet.
The wiredoor-gateway image includes a preconfigured service that allows you to resolve services in your Docker Compose stack by name, just like internal DNS inside Docker.
This means that when exposing services through Wiredoor, you don't need to know the internal IPs of your containers — you can simply use their service name (e.g. wordpress, app1, etc.).
docker-compose.yml stackHere is a full example using Wiredoor Gateway with multiple services:
networks:
wiredoor:
driver: bridge
ipam:
config:
- subnet: 172.18.50.0/24 # Make sure that this match with Gateway Subnet defined in your wiredoor gateway node
stack:
services:
wiredoor-gw:
image: wiredoor/wiredoor-cli:latest
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.ip_forward=1
environment:
WIREDOOR_URL: https://your-wiredoor-instance_or_ip
TOKEN: your-gateway-node-token
networks:
- wiredoor
wordpress:
image: wordpress
restart: always
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: exampleuser
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
volumes:
- wordpress:/var/www/html
networks:
- wiredoor
- stack
db:
image: mysql:8.0
restart: always
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db:/var/lib/mysql
networks:
- stack
volumes:
wordpress:
db:
| Problem | Possible Cause | Solution |
|---|---|---|
| Service not reachable | Not on the same subnet | Add container to the gateway's Docker network |
| DNS name not resolved | Typo or unsupported characters | Use valid service/container name |
| "Unauthorized" error | Invalid token | Check if the token is for a gateway node |
| No connection to server | Wrong WIREDOOR_URL or server unreachable | Test with curl or ping |
Content type
Image
Digest
sha256:2040a338c…
Size
17 MB
Last updated
15 days ago
docker pull wiredoor/wiredoor-cli