NicolasConstant / BirdsiteLive

An ethical bridge from Twitter
GNU Affero General Public License v3.0
455 stars 36 forks source link

SSL under Docker? #162

Closed janngobble closed 1 year ago

janngobble commented 1 year ago

I'm on a Synology - and that's neither here nor there except that means I'm using the docker-compose docker-compose.yml file. This runs ... i can run the instance and see it, search, and get back a @name@birdsitelive.domain.com (my subdomain) result. BUT the mastodon instance can't reach it 503 due to cert issue (it says).

There's nowhere I can see to add ssl cert info.

Other yml's I've used have something like: volumes:

What do I need to ensure that BirdsiteLive uses the certs when it get spoken to...and that it can pass the ssl test at: https://www.ssllabs.com/ssltest/ ?

Thanks, Nicolas!

janngobble commented 1 year ago

This was solved by me... My BirdsiteLive install now allows instances to search for twitter accounts and add them. I have yet to see a posting from my BSL put will test that next - by subscribing to my own feed, posting, and seeing if it cross-posts it to my mastodon instance.

Some notes: 1: I installed a LetsEncrypt cert automatically via Synology DDNS tools and did a reverse-proxy in the Synology itself. This allowed it to be reached via internet and ssllabs reports a "Grade B". (don't know why it's not an "A" but I'm good with above average).

BTW: 1: How often does BSL update posts? And is it something we can control via the yml file? 2: BSLmanager: I followed instructions and can see my mastodon ID subscribed to 6 twitter accounts...but I can't figure out how to exit the BSL manager, see how many postings the server has forwarded, etc. Is this on purpose?

Edit: It WORKS! I just got postings to my home instance from BirdsiteLive! YEAH!

Thanks!

prplecake commented 1 year ago

1: How often does BSL update posts? And is it something we can control via the yml file?

My understanding was BSL checks for new tweets every 15 minutes, but this get longer the more saturated the BSL instance is.

2: BSLmanager: I followed instructions and can see my mastodon ID subscribed to 6 twitter accounts...but I can't figure out how to exit the BSL manager, see how many postings the server has forwarded, etc. Is this on purpose?

Hah! I agree it's not intuitive to close. BSLManager should quid on C-c or C-d, but it does seem to quit on C-q.

prplecake commented 1 year ago

The File -> Quit option should work, too!

Screenshot 2022-11-01 at 10 07 46
janngobble commented 1 year ago

The File -> Quit option should work, too!

Screenshot 2022-11-01 at 10 07 46

Yeah...but nothing I could do would activate this F menu... ssh'd into Synology from macOS.

NicolasConstant commented 1 year ago

Yeah BSLManager is a bit buggy and difficult to close, that's something I'd like to revamp entirely.

Happy you've solved your issue!