pixelfed / pixelfed

Photo Sharing. For Everyone.

Home Page:https://pixelfed.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to use Docker images behind Traefik results in 419 Error.

Wave6677 opened this issue · comments

commented

Hello, I am trying to create a private Pixelfed instance for myself and my friends. However I am having trouble figuring out how to properly configure it to work. When I stop Traefik (The reverse proxy I want to use, which uses ports 80 and 443 like the provided NGINX proxy does), and use the default .env and docker-compose (after configuring .env of course) I can use Pixelfed just fine. When I try to connect Pixelfed to Traefik through a dynamic yml configuration file I get either: An internal server error if they are not on the same docker network (have pixelfed on pixelfed-default and traefik on traefik-network), or B: A gateway timeout if they are on the same docker network (both on traefik-network). The config I got to "work" was using the docker label configuration while having all the pixelfed containers and traefik in the same network (traefik-network). I am attaching my Traefik docker-compose.yml, my Traefik static config, my Traefik dynamic config, my Pixelfed docker-compose, my Pixelfed .env file, and logs for all four Pixelfed containers. I have removed any references in the configs/logs to passwords, IP addresses and my domain name. If there is ANYTHING else I need to provide to troubleshoot this, please feel free to ask :)

docker-compose.traefik.yml.txt
traefik.yml.txt
dynamic.yml.txt
docker-compose.pixelfed.yml.txt
.env.txt
pixelfed-web-logs.txt
pixelfed-worker-logs.txt
pixelfed-db-logs.txt
pixelfed-redis-logs.txt