Commit d1b3e898 authored by Guilhem Saurel's avatar Guilhem Saurel

traefik2

parent 4ac41898
Pipeline #9611 passed with stage
in 2 minutes and 48 seconds
......@@ -34,8 +34,8 @@ services:
- web
- default
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host: rainboard.${DOMAIN_NAME:-localhost}"
traefik.enable: "true"
traefik.frontend.rule: "Host(`rainboard.${DOMAIN_NAME:-localhost}`)"
nginx:
image: nim65s/ndh:nginx
restart: unless-stopped
......@@ -44,8 +44,8 @@ services:
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host: rainboard.${DOMAIN_NAME:-localhost}; PathPrefix: /static, /media"
traefik.enable: "true"
traefik.frontend.rule: "Host(`rainboard.${DOMAIN_NAME:-localhost}`) && PathPrefix(`/static`, `/media`)"
networks:
web:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment