Update docker-compose to use https
See original GitHub issueIt is necesarry to update in dev branch docker-compose
for https
scenario.
Good sample is provided from @bravecobra - https://github.com/bravecobra/identityserver-ui
I would like to use http://127.0.0.1.xip.io - with https for development scenario as well - but currently it does not work properly on my machine - I need spend more time on this.
Currently this feature is blocker for next release, because I would like to provide support for docker as well and https is required. Any help/PR is really welcome. 👍 🚀
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:18 (14 by maintainers)
Top Results From Across the Web
Install the Compose plugin
Download and install Docker Compose on Linux with this step-by-step handbook. This plugin can be installed manually or by using a repository.
Read more >How to upgrade docker-compose to latest version
First, remove the old version: If installed via apt-get sudo apt-get remove docker-compose. If installed via curl
Read more >Using HTTPS in docker for local development
Open a terminal and make a folder with name, say wordpress-with-https and move inside it. Now create a file with name docker-compose.yml and ......
Read more >Updating a Container with Docker Compose - Tanner's Tech
To start, simply navigate to the directory of your container's docker compose file and run the command docker compose pull . Docker will...
Read more >How To Install and Use Docker Compose on Ubuntu 20.04
In this guide, you'll demonstrate how to install Docker Compose on an Ubuntu 20.04 server and how to get started using this tool....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think something along these lines could help and be a good start. Here’s the explanation of each container:
nginx-proxy will route traffic to other containers by providing “VIRTUAL_HOST” environment variable.
letsencrypt-nginx-proxy-companion will auto-generate valid SSL cert for virtual host. (Using self-signed certs might add complexity and additional config of nginx)
nginx will run demo web server
This part is not directly related to https but it is related to nginx (some might’ve experienced it) as it might cause 502 bad gateway when authorizing a client. It is due the fact that nginx doesn’t allow a large header content. To fix that nginx.conf needs to be modified and inlcude
Done - PR #657. Thanks for your help/suggestions.