Fix Portainer Expose

This should fix the `Client sent an HTTP request to an HTTPS server.` error when exposing the URL
This commit is contained in:
DrMxrcy 2023-03-01 11:16:02 -05:00 committed by Nicolas Meienberger
parent a62f70dabf
commit 6e3d78de3c

View File

@ -7,6 +7,7 @@ services:
restart: unless-stopped
ports:
- ${APP_PORT}:9443
- 9000:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- "${APP_DATA_DIR}/data:/data"
@ -18,4 +19,4 @@ services:
traefik.http.routers.portainer.entrypoints: websecure
traefik.http.routers.portainer.service: portainer
traefik.http.routers.portainer.tls.certresolver: myresolver
traefik.http.services.portainer.loadbalancer.server.port: 9443
traefik.http.services.portainer.loadbalancer.server.port: 9000