Commit 8ac6e4d4 by Chif Gergő

Fix volume name in docker-compose prod, and typo in nginx conf

parent c92b8619
Pipeline #1323 canceled with stages
in 0 seconds
...@@ -7,7 +7,7 @@ upstream wsbackend { ...@@ -7,7 +7,7 @@ upstream wsbackend {
} }
upstream frontend { upstream frontend {
server frontend:80 server frontend:80;
} }
server { server {
...@@ -41,7 +41,7 @@ server { ...@@ -41,7 +41,7 @@ server {
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade"; proxy_set_header Connection "Upgrade";
proxy_set_header Host $host; proxy_set_header Host $host;
} }
location /staticfiles/ { location /staticfiles/ {
......
...@@ -7,7 +7,7 @@ services: ...@@ -7,7 +7,7 @@ services:
ports: ports:
- "80:80" - "80:80"
volumes: volumes:
- "/static:/static" - "/staticfiles:/staticfiles"
networks: networks:
- backend - backend
restart: on-failure restart: on-failure
...@@ -39,7 +39,7 @@ services: ...@@ -39,7 +39,7 @@ services:
expose: expose:
- "8000" - "8000"
volumes: volumes:
- "/static:/static" - "/staticfiles:/staticfiles"
depends_on: depends_on:
- db - db
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment