Docker Reverse Proxy, Load Balancer and SSL Manager
8.3K
Source Code: git.tjdev.de/DrMaxNix/tightrope
Docker Reverse Proxy, Load Balancer and SSL Manager
Docker Compose:
services:
main:
image: drmaxnix/tightrope
restart: unless-stopped
environment:
LETSENCRYPT_ENABLED: true
LETSENCRYPT_AGREE_TOS: true
LETSENCRYPT_EMAIL: "[email protected]"
volumes:
- ./data:/opt/tightrope-data
networks:
- default
- web-1
- web-2
- web-3
ports:
- 80:80
- 443:443
networks:
web-1:
name: web-1
driver: bridge
ipam:
config:
- subnet: 192.168.101.0/24
web-2:
name: web-2
driver: bridge
ipam:
config:
- subnet: 192.168.102.0/24
web-3:
name: web-3
driver: bridge
ipam:
config:
- subnet: 192.168.103.0/24
$ docker compose up -d
Tip
Route configuration and certificates will be stored in the `./data` directory. Feel free to change this to your needs.
Note
Your application containers should then use one of the (external) interfaces defined in the Tightrope Docker Compose config. In the route list files you can then address the application services by their hostname.
Tightrope can update its routes without any downtime. Change the route list files as desired and reload the daemon:
$ docker compose exec main kill -s HUP 1
Content type
Image
Digest
sha256:6ccd8935c…
Size
36.3 MB
Last updated
11 days ago
docker pull drmaxnix/tightrope