In this video, I walk you through setting up a Rails development environment in Docker along with PostgreSQL. This setup will support hot code-reloading via Docker bind mounts and the database and gems will be installed on a separate volume
step by step guide: / rails-6-development-with-docker
Source code:
dockerfile: https://gist.github.com/donrestarone/...
docker-compose.yml: https://gist.github.com/donrestarone/...
entrypoint for dev environment: https://gist.github.com/donrestarone/...
entrypoint for test environment: https://gist.github.com/donrestarone/...
Feel free to reach out to us, we love talking tech!
website: https://restarone.com
Instagram: / restarone
LinkedIn: / restarone-solutions-inc
Medium: / restarone
Github: https://github.com/donrestarone