Skip to content

Commit

Permalink
#55 - Proxy localhost to dashboard on port 8081
Browse files Browse the repository at this point in the history
  • Loading branch information
johanjanssens committed May 30, 2022
1 parent da1fee8 commit 8b48dd2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,20 @@ services:
# Routers
- "traefik.http.routers.dashboard-http.rule=Host(`localhost`)"
- "traefik.http.routers.dashboard-http.entrypoints=web"
- "traefik.http.routers.dashboard-http.service=dashboard"

- "traefik.http.routers.dashboard-https.rule=Host(`localhost`)"
- "traefik.http.routers.dashboard-https.entrypoints=websecure"
- "traefik.http.routers.dashboard-https.service=dashboard"
- "traefik.http.routers.dashboard-https.tls=true"

- "traefik.http.routers.joomlatools-server-http.rule=HostRegexp(`{name:(.*)}.test`)"
- "traefik.http.routers.joomlatools-server-http.entrypoints=web"
- "traefik.http.routers.joomlatools-server-http.service=joomlatools-server"

- "traefik.http.routers.joomlatools-server-https.rule=HostRegexp(`{name:(.*)}.test`)"
- "traefik.http.routers.joomlatools-server-https.entrypoints=websecure"
- "traefik.http.routers.joomlatools-server-https.service=joomlatools-server"
- "traefik.http.routers.joomlatools-server-https.tls=true"
# Services
- "traefik.http.services.dashboard.loadbalancer.server.port=8081"
Expand Down Expand Up @@ -242,4 +250,4 @@ services:
# Services
- "traefik.http.services.dozzle.loadbalancer.server.port=8080"
networks:
- joomlatools-server
- joomlatools-server

0 comments on commit 8b48dd2

Please sign in to comment.