Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 722ac53

Browse files
committed
replaced gunicorn with daphne server to simplify ci -- daphne serves both websockets and http requests
1 parent 13d8f27 commit 722ac53

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

backend/scripts/prod/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM node:10-alpine as build-stage
33
ENV HTTP_PROTOCOL http
44
ENV WS_PROTOCOL ws
5-
ENV DOMAIN_NAME localhost:8000
5+
ENV DOMAIN_NAME localhost:9000
66
WORKDIR /app/
77
COPY quasar/package.json /app/
88
RUN npm cache verify

compose/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ services:
3131
dockerfile: backend/scripts/prod/Dockerfile
3232
ports:
3333
- "8000:8000"
34-
command: /start_ci.sh
34+
- "9000:9000"
35+
command: /start_asgi.sh
3536
volumes:
3637
- django-static:/code/static
3738
networks:

0 commit comments

Comments
 (0)