nginx-golang-mysql: add dev envs support

* Add Docker Desktop Development Environments config
* Use nginx image with read-only bind mount instead of building a
  custom image
* Upgrade Go dependencies

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
Milas Bowman
2022-07-11 15:14:28 -04:00
parent 9d547d23fb
commit f122b52ce6
7 changed files with 121 additions and 22 deletions

View File

@@ -1,2 +0,0 @@
FROM nginx:1.13-alpine
COPY conf /etc/nginx/conf.d/default.conf

View File

@@ -2,7 +2,7 @@ server {
listen 80;
server_name localhost;
location / {
proxy_pass http://backend:8000;
proxy_pass http://backend:8000;
proxy_http_version 1.1;
}
}