Thank you David Kimura for your quick responses! I did set the password environment variable in the .kamal/secrets and the rails credentials. I created my rails new app with a devcontainer and a posgresql database from the start! But I can't figure out why I can't connect . Maybe any other Ideas? Thank you!