From d3e9be54b61c8360f17fd7abc5d6948225eac91f Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Wed, 10 Jun 2026 13:06:48 -0300 Subject: [PATCH] refactor(seeder): remove conditional UserSeeder call from DatabaseSeeder Removed the logic that conditionally seeds the UserSeeder based on the self-hosting configuration. This simplifies the DatabaseSeeder and assumes user data will be handled externally. --- database/seeders/DatabaseSeeder.php | 5 ----- releases/v1.0.1/changelog.md | 6 ++++++ releases/v1.0.1/email.md | 25 +++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 releases/v1.0.1/changelog.md create mode 100644 releases/v1.0.1/email.md diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 000d7d0c..2400f150 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -17,10 +17,5 @@ public function run(): void PlanSeeder::class, PassportSeeder::class ]); - - // If self-hosted, seed the user seeder - if(config('trypost.self_hosted')) { - $this->call(UserSeeder::class); - } } } diff --git a/releases/v1.0.1/changelog.md b/releases/v1.0.1/changelog.md new file mode 100644 index 00000000..0d1d3db8 --- /dev/null +++ b/releases/v1.0.1/changelog.md @@ -0,0 +1,6 @@ +## What's Changed +* docs: add Star History section to README by @paulocastellano in https://github.com/trypostit/trypost/pull/63 +* feat(docker): publish multi-arch image to GHCR + self-host compose by @paulocastellano in https://github.com/trypostit/trypost/pull/65 + + +**Full Changelog**: https://github.com/trypostit/trypost/compare/v1.0.0...v1.0.1 diff --git a/releases/v1.0.1/email.md b/releases/v1.0.1/email.md new file mode 100644 index 00000000..033758e9 --- /dev/null +++ b/releases/v1.0.1/email.md @@ -0,0 +1,25 @@ +--- +subject: "Changelog: TryPost v1.0.1 — Self-host with the official Docker image" +--- + +# Changelog: TryPost v1.0.1 — Self-host with the official Docker image + +By Paulo Castellano • Release v1.0.1 + +Hello! Welcome to this week's update. Here's what's new in TryPost. + +## Self-host TryPost with one command + +You can now run TryPost from an official Docker image. Every release builds one (Intel and ARM), so you pull it and go, no building from source. The compose setup brings up TryPost with its database and Redis alongside it, and your posts, drafts and uploads stay in volumes on your own machine. + +Want it on a real domain? There's a built-in option that sorts out HTTPS for you, so you don't have to fight with certificates to get a secure install. And if you'd rather not keep uploads on the box, you can point storage at S3 or Cloudflare R2. + +## New features + +- An official Docker image you can pull and run (Intel + ARM). +- A one-command self-host stack with PostgreSQL and Redis included. +- Automatic HTTPS for your own domain. +- Media storage on S3 or Cloudflare R2. + +Cheers, +Paulo Castellano from TryPost.it