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.
This commit is contained in:
Paulo Castellano 2026-06-10 13:06:48 -03:00
parent cbb73487f2
commit d3e9be54b6
3 changed files with 31 additions and 5 deletions

View file

@ -17,10 +17,5 @@ public function run(): void
PlanSeeder::class, PlanSeeder::class,
PassportSeeder::class PassportSeeder::class
]); ]);
// If self-hosted, seed the user seeder
if(config('trypost.self_hosted')) {
$this->call(UserSeeder::class);
}
} }
} }

View file

@ -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

25
releases/v1.0.1/email.md Normal file
View file

@ -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