I’m writing a migration script and I want to set the
s3_upload_bucket site setting programmatically. I found a method to set it when inside the docker instance:
echo 'SiteSetting.s3_upload_bucket="mybucket"' | bundle exec rails c
But last contains a pipe so I chaining it with
docker exec -it app <command> results in an error
There is a way to do this?
Thank you in advance