Menu

Rails 8 on a free container: the SQLite default that erases your data, and the Dockerfile Rails already gave you

DEV Community: ruby·SnapDeploy·11 days ago
#g2Rr062p
#devtoruby#devto#dev#rails#container
Long article (1183 words) — no AI summary yet.
Reading 0:00
15s threshold

TL;DR: Rails 8 defaults to SQLite in production, and a container's ephemeral filesystem quietly erases it on the next deploy. Switch to PostgreSQL, keep the production Dockerfile Rails generates, size Puma for 512 MB, and understand what Solid Queue does…

Anonymous readers can preview up to 1024 characters here. Log in to unlock the full article once ingest succeeds.