Permalink
Browse files

Fixed broken stuff. It works now

  • Loading branch information...
kiriappeee committed Aug 2, 2018
1 parent 16888f3 commit 65b8df73c2834906a19e1220706b1305fce20af4
Showing with 6 additions and 4 deletions.
  1. +5 −3 docker-compose.yml
  2. +1 −1 nginx.conf
@@ -3,13 +3,15 @@ services:
revproxy:
build:
context: "."
file: "Dockerfile.nginx"
dockerfile: "Dockerfile.nginx"
links:
- "web"
ports:
- "80:80"
web:
build:
context: "."
file: "Dockerfile"
command: "FLASK_APP=app.py flask run --host 0.0.0.0"
dockerfile: "Dockerfile"
environment:
- FLASK_APP=app.py
command: "flask run --host 0.0.0.0"
@@ -1,6 +1,6 @@
server{
listen 80;
location / {
proxy_pass web:5000
proxy_pass http://web:5000;
}
}

0 comments on commit 65b8df7

Please sign in to comment.