Configure local Docker development environment for SQLite#34
Merged
Conversation
9ac7393 to
e9a51f5
Compare
dmitrytrager
approved these changes
Feb 4, 2026
- Add Dockerfile.dev: Alpine-based image with Ruby 4.0.1, SQLite support - Add docker-compose.dev.yml: Development environment with Rails server - Add docker-compose.test.yml: Test environment for running RSpec - Update Gemfile: Add sqlite3 gem (remove PostgreSQL dependency) - Update config/database.yml: Configure SQLite for dev, test, and production - Update .gitignore: Exclude SQLite database files - Add LOCAL-DOCKER-DEV-GUIDANCE-AGENT-CONTEXT.md: Development setup documentation Users can now run: docker compose -f docker-compose.dev.yml up
e9a51f5 to
432505e
Compare
Dockerfile dev works for compose dev and test There should be consistency between all the Dockerfiles and compose files.
devjona
commented
Feb 4, 2026
| gem "tailwindcss-rails" | ||
|
|
||
| # Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword] | ||
| # gem "bcrypt", "~> 3.1.7" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Issue Does This PR Cover, If Any?
Resolves #33
What Changed? And Why Did It Change?
Main Changes:
Dockerfile.dev: Alpine-based image withRuby 4.0.1, SQLite supportdocker-compose.dev.yml: Development environment with Rails serverdocker-compose.test.yml: Test environment for running RSpecGemfile: Addsqlite3gem (remove PostgreSQL dependency)config/database.yml: Configure SQLite for dev, test, and production.gitignore: Exclude SQLite database filesLOCAL-DOCKER-DEV-GUIDANCE-AGENT-CONTEXT.md: Development setup documentation😃 Users can now run:
docker compose -f docker-compose.dev.yml upHow Has This Been Tested?
Locally in the running containers.
Please Provide Screenshots
Additional Comments