Created
October 14, 2019 18:52
-
-
Save erickvictor/3898d01b5f4442a300757c8e0b99235f to your computer and use it in GitHub Desktop.
Rails+Postgres+Ngrok
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| db: | |
| image: postgres | |
| web: | |
| build: . | |
| command: bundle exec rails s -p 3000 -b '0.0.0.0' | |
| volumes: | |
| - .:/myapp | |
| ports: | |
| - "3000:3000" | |
| depends_on: | |
| - db | |
| ngrok: | |
| image: wernight/ngrok | |
| links: | |
| - "web" | |
| command: "ngrok http web:3000" | |
| ports: | |
| - "4040:4040" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Erick, suspeito que as portas do ngrok deveriam ser
3000:4040