dockerfile-rails
dockerfile-rails copied to clipboard
Provides a Rails generator to produce Dockerfiles and related files.
Right now, if ActionCable is being using, we try to add redis even if ActionCable is not configured to use redis. It would be better to make the check a...
**This is a WIP. I'd appreciate some help with it, as well as confirmation it's worth doing.** In a Dockerfile, the `ENV` keyword requires a name and value. But `ARG`...
Hello, I am trying to use this dockerfile in a rails 6.1 project to run tests in Gitlab CI. The build step runs fine with kaniko, but the test step...
The readme mentions: >--max-idle=n - exit afer n seconds of inactivity. Supports [iso 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) and [sleep](https://man7.org/linux/man-pages/man1/sleep.1.html#DESCRIPTION) syntaxes. Uses passenger for now, awaiting https://github.com/puma/puma/issues/2580 support. Puma has just added Shutdown on...
See https://community.fly.io/t/starting-a-rails-console-session-fails/12582 for details.
I followed [Sqlite3 on fly volumes](https://fly.io/docs/rails/advanced-guides/sqlite3) tutorial and proactively enabled [swap](https://fly.io/docs/rails/getting-started/dockerfiles/#out-of-memory) for demo rails app. It turned out that, since the container is launched as root user when swap is...
Disclaimer: I'm not a docker superuser, especially when it comes to managing permissions and users between the host and containers, so it's very possible I'm doing something wrong. Doing a...
Please add [Litestream](https://litestream.io/) for SQLite3 db as a generator option. Thank you!
If you connect to a docker container and run `rails console`, IRB will attempt to record a history file in `/rails/.irb_history`, but this location is not writeable. Perhaps configuring IRB...
https://github.com/rubys/dockerfile-rails/blob/718a4ad457d4a1330cc39788bdf55a07531adbbd/lib/generators/dockerfile_generator.rb#L712 `.tool-versions` may also contain information about ruby, yarn, and python, java, awscli, azure-cli, elixir, etc.. versions formatted like... ``` ruby 3.2.0 nodejs 19.6.0 yarn 1.22.19 python 3.10.7 2.7.18 ```