Bind port 4443 to 80 [Docker + Traefik]
Hello! I have a problem with podsync. I have podsync set with Traefik and Docker like that:
version: '2.2'
services:
podsync:
container_name: podsync
ports:
- 4443:4443
image: mxpv/podsync:latest
restart: always
labels:
- traefik.docker.network = [name]
- traefik.enable = true
- traefik.backend = Podsync
- traefik.frontend.rule = Host:sub.domain.tld:4443
- traefik.port = 80
volumes:
- /path/:/app/data/
- /path/config.toml:/app/config.toml
with given config:
[server]
port = 4443
hostname = "http://sub.domain.tld:4443"
data_dir = "/app/data" # Don't change if you run podsync via docker
site works, but the problem is that pocket casts after adding it to feed, tries to take podcasts from port 80. I've tried to set everything as 4443, but it doesn't work. And important is that I can't bind it to 80 inside docker-compose, because other service owns that (domain.tld:80).
Hello. Can you check that links to videos are correct in the feed? (point to 8443 port)
If I open that video manually (going to sub.domain.tld:4443 and select any media from there) it plays as it should. Even when I modify the link that pocketcasts opens when I press download video by adding port 4443 to link, I can get that media file. I want to add that every subdomain, not only the one that I chose, when I add to it port 4443, it points to podsync server.