nginx-golang-postgres: add dev envs config

* Add Docker Desktop Development Environments config
* Upgrade to Go 1.18
* Replace nginx build with image + read-only bind mount

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
Milas Bowman
2022-07-11 15:51:00 -04:00
parent 9d547d23fb
commit 9c673b975b
8 changed files with 156 additions and 32 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,8 @@ server {
listen 80;
server_name localhost;
location / {
proxy_pass http://backend:8000;
proxy_pass http://backend:8000;
proxy_http_version 1.1;
}
}