You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Docker setup here uses compose and websites are routed through traefik. I would guess that is a very common setup. So I wanted to share the docker-compose file I came up with in case it is useful to someone else. I am not an expert so feedback is useful as well.
It is for traefik v1.7 (traefik v2.x would likely be different) and the RTR port is just passed through outside of traefik. In more complex setups it may be easier to route that through traefik as well.
This setup will be moving to swarm + traefik v2 so I will probably share that too if it is useful.
version: '3'services:
routinator:
image: nlnetlabs/routinator:latestrestart: unless-stoppedports:
- '3323:3323'volumes:
- routinator-tals:/home/routinator/.rpki-cache/tals:Zlabels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.frontend.rule=Host:${ROUTINATOR_URL_HOSTNAME}"
- "traefik.frontend.passHostHeader=true"# for https# - "traefik.frontend.entryPoints=http,https"# - "traefik.frontend.redirect.entryPoint=https"# for http
- "traefik.frontend.entryPoints=http"
- "traefik.port=9556"networks:
proxy:
networks:
proxy:
external: truevolumes:
# create & init this before starting first time by following the 2 commands published in "Quick Start with Docker"routinator-tals:
external: true
The text was updated successfully, but these errors were encountered:
The Docker setup here uses compose and websites are routed through traefik. I would guess that is a very common setup. So I wanted to share the
docker-compose
file I came up with in case it is useful to someone else. I am not an expert so feedback is useful as well.It is for traefik v1.7 (traefik v2.x would likely be different) and the RTR port is just passed through outside of traefik. In more complex setups it may be easier to route that through traefik as well.
This setup will be moving to swarm + traefik v2 so I will probably share that too if it is useful.
The text was updated successfully, but these errors were encountered: