Skip to content
Snippets Groups Projects
Verified Commit ec94a123 authored by David Beniamine's avatar David Beniamine
Browse files

Bad hostname in traefik v3

parent 04f8bbd0
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,9 @@ COMPOSE_FILE=docker-compose.yml:traefik.yml
# COMPOSE_FILE=docker-compose.yml:ports.yml:dev.yml
# Host and Name for traefik
# with traefik v2
HOST=
# with traefik v3 une Host(`FQDN`) || Host(`FQDN`) for mutlihost
# HOST=Host(`${HOST}`)
HOST=FQDN
# with traefik v3 uncomment the following, use Host(`FQDN`) || Host(`FQDN`) for mutlihost
# HOST_RULE=Host(`${HOST}`)
NAME=peertube
# Peertune secret
......
......@@ -26,7 +26,7 @@ services:
volumes:
- assets:/app/client/dist
- ./docker-volume/data:/data
- /home/dockerweb/data/peertube:/data
- ./docker-volume/config:/config
depends_on:
postgres:
......
......@@ -8,7 +8,7 @@ services:
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.${NAME}.rule=${HOST}"
- "traefik.http.routers.${NAME}.rule=${HOST_RULE}"
- "traefik.http.routers.${NAME}.tls.certresolver=myresolver"
- "traefik.http.routers.${NAME}.entrypoints=web,websecure"
- "traefik.http.services.${NAME}.loadbalancer.server.port=9000"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment