Skip to content

Commit

Permalink
tryfix https redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
westfood committed Dec 20, 2024
1 parent 3e44ff0 commit 0ca65dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ci/templates/docker-compose.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ services:
command: --api.insecure=true --providers.docker
ports:
# The HTTP port
- "80:80"
- "443:80"
# The Web UI (enabled by --api.insecure=true)
- "443:8080"
- "80:8080"
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -22,9 +22,9 @@ services:
- "{{ path }}"
{% endfor %}
labels:
- "traefik.http.routers.pywb.rule=Host(`localhost`) || Host(`{{ treafik_host_routing }}`)"
whoami:
- "traefik.http.routers.pywb.rule=Host(`localhost`) || Host(`10.3.0.21`) || Host(`{{ treafik_host_routing }}`)"
{# whoami:
# A container that exposes an API to show its IP address
image: traefik/whoami
labels:
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`) || Host(`10.3.0.21`)"
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`) || Host(`10.3.0.21`)" #}

0 comments on commit 0ca65dd

Please sign in to comment.