Closed xaiyeon closed 8 months ago
You should put the VPN Container in the same network as traefik, and define on the VPN Container the traefik labels. Then, you should move all your containers to be connected to the VPN through the network mode.
Thank you sir! It works
I was trying to get the traefik to work with my custom domains, but I am unsure what to do next.. I tried adding labels like this
labels:
traefik.enable: true
traefik.docker.network: traefik
# for sonarr
traefik.http.routers.sonarrms-web-secure.entrypoints: https
traefik.http.routers.sonarrms-web.rule: Host(`sonarrms.$DNAH`)
traefik.http.routers.sonarrms.service: sonarrms
traefik.http.services.sonarrms.loadbalancer.server.port: 8989
traefik.http.routers.sonarrms-web-secure.tls.certresolver: dns-cloudflare
under the VPN service, but I just get an page 404 when trying to visit the URL, but if I go to localhost:8989 the webpage loads fine. Do I have to open ports on my physical router or add something to cloudflare DNS?
Sorry I lost the notification about your reply. Do you still have the same problem?
I wanted to add VPN to this docker compose file; the original was already working, so I decided to add surfshark and added the modifications. I was unable to find a solution asking, and trying chatGPT as well. Ports on router are open, and network via traefik and docker is working (have other services running)...
I'm not able to access the webUI portions as specified in the example; how would I configure to be able to access via Cloudflare-DNS, pi-hole?
I dont' get any errors in the docker logs, otherwise than connection via each other service like sonar, radar, etc, not being able to access qbitorrent, etc. thank you sir
Sorry if it takes a bit of your time (I'm at a loss, and been trying for a day now), what should I change to be able to access the sites again via domain ex (https://sonarrms.mydomain.com/):