talkgroup

Hosting talkgroup stuff with DigitalOcean Spaces

Tags: #<Tag:0x00007f736ed8a8e0> #<Tag:0x00007f736ed8a5c0>

Since allowing sub-domain assignment to the Spaces CDN (Introducing Custom Subdomains for Spaces CDN), I decided to hook them up to the backend of talkgroup for backups and uploads.

I got backups working, groovy. But I was disappointed to learn the sub-domains only work with Let’s Encrypt if they are pointed at DO’s DNS servers. I was thinking I’d host a bunch of interi.org sub-sites that way, but I ain’t hitching my domain there any time soon. But we don’t use talkgroup.xyz for anything else! So I’m gonna get that figured out. :slight_smile:

Docs

2 Likes

Okay, gonna switch DNS over to DigitalOcean. Let’s see if anything breaks!

1 Like

That worked. Now let’s see if I accidentally delete all the images… :slight_smile:

A test…

1 Like

As soon as https://bits-of-conversation.talkgroup.xyz/original/2X/1/1201caecea0dfca2246b47c9281886d4c3db071f.jpeg begins showing up, it will be set up.

Another test!

Okay, it works. The CDN URL is https://bits-of-conversation.talkgroup.xyz/.

So images are uploaded to a bucket, and then CDN’d. Backups are uploaded to a secure bucket. Bucket bucket bucket.

1 Like

I’m not going to migrate older uploads. They’ll get removed eventually, as the archive is processed. And all future uploads go to the bucket. We’re good, storage-wise.