-
Notifications
You must be signed in to change notification settings - Fork 38
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
Development: allow to use --ngrok when starting Docker #151
Conversation
Together with readthedocs/readthedocs.org#9353 this commit will allow developers to run NGROK with the local instance just by passing another argument. ``` inv docker.up --ngrok readthedocs.ngrok.io ```
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.
LGTM 👍 I tried using it locally, albeit without installing ngrok. But I really like it, it's a great idea!
@@ -23,7 +23,7 @@ services: | |||
- proxito | |||
- storage | |||
volumes: | |||
- ${PWD}/dockerfiles/nginx:/etc/nginx/conf.d | |||
- ${PWD}/dockerfiles/nginx:/etc/nginx/templates |
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.
Really good idea to start using envsubst 👍 This is a good step towards convergence between development docker images and production. Ideally, the same Docker images can be used in multiple deployments and after having isolated variables as environment variables, we can reduce reliance on volumes and build configurations straight into the images.
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.
Note that this is incompatible with current readthedocs-corporate
setup.
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.
Note that this is incompatible with current readthedocs-corporate setup.
Yes, we will need to do some work there to support ngrok as well.
Together with readthedocs/readthedocs.org#9353 this
commit will allow developers to run NGROK with the local instance just by
passing another argument.