WIP: Docker enhancement

* reduces all needed containers into a single one
* simplifies initial startup command by adding docker-entrypoint.sh
This commit is contained in:
2022-04-26 08:55:07 +02:00
parent 7d29dddd22
commit 80de57a087
5 changed files with 14 additions and 33 deletions

20
nginx.conf Normal file
View File

@@ -0,0 +1,20 @@
upstream konova {
server localhost:8000;
}
server {
listen 80;
location / {
proxy_pass http://konova;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
location /static/ {
alias /konova/static/;
}
}