nginx-golang-postgres: add dev envs config (#275)

* 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-12 04:08:02 -04:00
committed by GitHub
parent 9d547d23fb
commit 7f5179ea3e
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;
}
}