I think I encountered the same problem setting up today. After digging around in https://github.com/LemmyNet/lemmy/pull/3421 for a while, I came to the conclusion that this is broken in latest/18 right now (probably shouldn't have been pointed there anyway). Switching my docker compose file to point at the 17 release resolved this issue for me without me having to set the CORS ORIGIN env var.
this post was submitted on 02 Jul 2023
3 points (100.0% liked)
Lemmy Support
4718 readers
2 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
did you figure it out?
figured it out on mine in my docker compose I had my external url to https and I was using http, will force redirect to https now
Thanks for posting your solution. Hopefully it'll help others in the future. For me, I wound up restarting from scratch with the ansible based deployment solution. I'd seen comments from others who'd had problems getting docker-compose to deploy properly. The ansible playbook spun up an instance first time no problem for me.