lodev's router, a wrapper on traefik
924
A Traefik-based reverse proxy container designed for intelligent request routing, SSL/TLS termination, and service discovery in the lodev development environment.
The lodev-router image provides a Traefik v3.6 reverse proxy that serves as the central routing component of the lodev local development environment. It handles hostname-based routing, dynamic service discovery, SSL/TLS termination, and request monitoring for all containerized projects.
Key characteristics:
| Variable | Default | Description |
|---|---|---|
TRAEFIK_MONITOR_PORT | 10999 | Port for Traefik monitoring and diagnostics |
linux/amd64 - x86-64 architecturelinux/arm64 - ARM64 architecture (Apple Silicon, etc.)Traefik configuration file location:
/etc/traefik/traefik.yaml → /mnt/lodev_default/traefik/.static_config.yaml
The container uses a symlink from the standard Traefik configuration location to the lodev working directory for persistent configuration.
/mnt/lodev_default/traefikThe lodev-router image is automatically managed by the lodev CLI as the central routing service:
lodev create
lodev start
The router handles all hostname-based routing across your projects automatically.
For standalone use with custom Traefik configuration:
docker run -d \
--name traefik-router \
-v /path/to/traefik/config:/mnt/lodev_default/traefik \
-p 80:80 \
-p 443:443 \
-p 10999:10999 \
namnh198/lodev-router:latest
The container includes a health check that:
Health check script location: /healthcheck.sh
Monitor Traefik diagnostics and routing information:
# Access monitoring on port 10999
curl http://localhost:10999/
The container runs a custom monitoring script (monitor-traefik-stderr.sh) that:
This image and its source code are licensed under the Apache License 2.0. See LICENSE for details.
Contributions are welcome! Please submit issues and pull requests on the lodev GitHub repository.
Content type
Image
Digest
sha256:b5cc5e616…
Size
69.6 MB
Last updated
3 months ago
docker pull namnh198/lodev-router