Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jul 21, 2020

Summary

@ghost ghost marked this pull request as ready for review July 21, 2020 12:52
- DATABASE_URL=postgres://postgres:password@db
- RAILS_ENV
- RACK_ENV
- DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add this variable to .env.example? Something like this:

# Allow connect to remote database (in separate container)
DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL=true

- DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL
- AUTH_SECRET_TOKEN
- MAILER_SENDER_ADDRESS
- PASSWORD_RECOVERY_LINK_TEMPLATE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this variable isn't need in this project

Suggested change
- PASSWORD_RECOVERY_LINK_TEMPLATE

links:
- db
volumes:
- ruby-bundle:/usr/local/bundle

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also use separate volume for node_modules folder? Seems like now container will use node_modules from the host machine? (because of .:/app volume). If so, I think it's no good because of different dependencies between diff machines (MacOS Host, Linux container)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants