You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set up my docker stack with Traefik 3 & Authentik,
everything is working great only i can't access Portainer with portainer.mydomain.com,
i keep getting 404 page not found in my browser.
It works with IP-ADDRESS:9001 internally but not through the domain.
Can you please help me.
portainer.yml:
services:
# Portainer - WebUI for Containers
portainer:
container_name: portainer
image: portainer/portainer-ce:latest # Use portainer-ee if you have a Business Edition license key
security_opt:
- no-new-privileges:true
restart: unless-stopped
# profiles: ["core", "all"]
networks:
t3_proxy:
ipv4_address: 192.168.90.240 # You can specify a static IP
socket_proxy:
# command: -H unix:///var/run/docker.sock # # Use Docker Socket Proxy instead for improved security
command: -H tcp://socket-proxy:2375
ports:
- "$PORTAINER_PORT:9000"
volumes:
# - /var/run/docker.sock:/var/run/docker.sock:ro # # Use Docker Socket Proxy instead for improved security
- $DOCKERDIR/appdata/portainer/data:/data # Change to local directory if you want to save/transfer config locally
environment:
- TZ=$TZ
labels:
- "traefik.enable=true"
# HTTP Routers
- "traefik.http.routers.portainer-rtr.entrypoints=websecure"
- "traefik.http.routers.portainer-rtr.rule=Host(`portainer.$DOMAINNAME_1`)"
- "traefik.http.routers.portainer-rtr.tls=true"
# Middlewares
#- "traefik.http.routers.portainer-rtr-bypass.middlewares=chain-no-auth@file"
#- "traefik.http.routers.portainer-rtr.middlewares=chain-oauth@file"
- "traefik.http.routers.portainer-rtr.middlewares=chain-authentik@file"
# HTTP Services
- "traefik.http.routers.portainer-rtr.service=portainer-svc"
- "traefik.http.services.portainer-svc.loadbalancer.server.port=9000"
In the .env file DOMAINNAME_1, PORTAINER_PORT & TZ are set correctly.
The cloudflare CNAME portainer is also created.
The text was updated successfully, but these errors were encountered:
Hello,
I have set up my docker stack with Traefik 3 & Authentik,
everything is working great only i can't access Portainer with portainer.mydomain.com,
i keep getting 404 page not found in my browser.
It works with IP-ADDRESS:9001 internally but not through the domain.
Can you please help me.
portainer.yml:
The text was updated successfully, but these errors were encountered: