nginx-golang-mysql: add dev envs support (#274)

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

Co-authored-by: Guillaume Lours <guillaume@lours.me>
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
Milas Bowman
2022-07-13 09:06:24 -04:00
committed by GitHub
parent 111c55d56b
commit f3293008b0
8 changed files with 158 additions and 43 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;
}
}