docker / awesome-compose

Awesome Docker Compose samples
https://docs.docker.com/compose/
Creative Commons Zero v1.0 Universal
34.57k stars 6.64k forks source link

Update to Rails 7 and Sqlite Default #315

Open cmdrkeene opened 1 year ago

cmdrkeene commented 1 year ago

Hi!

Rails 5 is very old now. Rails 7 would be a nice example.

It also ships with sqlite3 as the default database.

A "default" working example for this config would be welcome. Not everyone immediately wants to disregard the framework's default choice and immediately install a huge database. Every docker example online ignores sqlite3. It would be helpful to have both paths referenced from the docker site.

Thank you!

sitarane commented 1 year ago

I'm currently working on a rails 7 update.

I'll do both the sqlite version and the postgresql version.

https://github.com/sitarane/awesome-compose/blob/master/official-documentation-samples/rails/README.md

sitarane commented 1 year ago

Hmm. I'm thinking that here being a repo for Docker Compose, a Sqlite setup would make little sense as it would be single-container and not need compose at all.

sitarane commented 1 year ago

This PR attempts to solve this.

https://github.com/docker/awesome-compose/pull/377