You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rails new myapp --main --skip-active-storage -d postgresql
cat config/deploy.yml
Expected behavior
config/deploy.yml should not configure a persistent storage volume.
Actual behavior
config/deploy.yml is configuring a persistent storage volume in this section:
# Use a persistent storage volume for sqlite database files and local Active Storage files.
# Recommended to change this to a mounted volume path that is backed up off server.
volumes:
- "myapp_storage:/rails/storage"
System configuration
Rails version: 8.0.0.alpha
Ruby version: 3.3.1
Comments
According to the comment mentioned above in config/deploy.yml, a persistent storage volume seems to be needed only for sqlite and local Active Storage. If using a different database and the --skip-active-storage option, it doesn't seem needed.
Steps to reproduce
Expected behavior
config/deploy.yml
should not configure a persistent storage volume.Actual behavior
config/deploy.yml
is configuring a persistent storage volume in this section:System configuration
Rails version: 8.0.0.alpha
Ruby version: 3.3.1
Comments
According to the comment mentioned above in
config/deploy.yml
, a persistent storage volume seems to be needed only for sqlite and local Active Storage. If using a different database and the--skip-active-storage
option, it doesn't seem needed.Related: #51835
Potential fix: #51838
The text was updated successfully, but these errors were encountered: