Skip to content

Configure local Docker development environment for SQLite#34

Merged
devjona merged 2 commits intomainfrom
33-configure-app-for-local-docker-development
Feb 4, 2026
Merged

Configure local Docker development environment for SQLite#34
devjona merged 2 commits intomainfrom
33-configure-app-for-local-docker-development

Conversation

@devjona
Copy link
Collaborator

@devjona devjona commented Feb 4, 2026

What Issue Does This PR Cover, If Any?

Resolves #33

What Changed? And Why Did It Change?

Main Changes:

  1. Move to SQLite (we don't need Postgres for these Mini PCs)
  2. Support for Docker local development and testing.
  • This happened in another PR but we've consolidated all the changes.

  • 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

How Has This Been Tested?

Locally in the running containers.

Please Provide Screenshots

image

Additional Comments

@devjona devjona linked an issue Feb 4, 2026 that may be closed by this pull request
@devjona devjona force-pushed the 33-configure-app-for-local-docker-development branch from 9ac7393 to e9a51f5 Compare February 4, 2026 11:24
- 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
@devjona devjona force-pushed the 33-configure-app-for-local-docker-development branch from e9a51f5 to 432505e Compare February 4, 2026 14:40
Dockerfile dev works for compose dev and test
There should be consistency between all the Dockerfiles and compose
files.
gem "tailwindcss-rails"

# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
# gem "bcrypt", "~> 3.1.7"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate entry.

@devjona devjona merged commit ea5b107 into main Feb 4, 2026
5 checks passed
@devjona devjona deleted the 33-configure-app-for-local-docker-development branch February 4, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configure app for local Docker development

2 participants