-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker configs sync #602
base: master
Are you sure you want to change the base?
Docker configs sync #602
Conversation
- DATABASE_URL=postgres://postgres:password@db | ||
- RAILS_ENV | ||
- RACK_ENV | ||
- DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
- PASSWORD_RECOVERY_LINK_TEMPLATE |
links: | ||
- db | ||
volumes: | ||
- ruby-bundle:/usr/local/bundle |
There was a problem hiding this comment.
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)
Summary