forked from rDrama/rDrama
add chat script for convenience to me
parent
55b3c8a691
commit
dfdacfccc7
|
@ -12,9 +12,10 @@ RUN apt install -y libpq-dev
|
|||
RUN apt install -y nano
|
||||
RUN apt install -y mailutils
|
||||
|
||||
COPY requirements.txt /etc/requirements.txt
|
||||
COPY requirements.txt /requirements.txt
|
||||
COPY startup_docker_chat.sh /s
|
||||
|
||||
RUN pip3 install -r /etc/requirements.txt
|
||||
RUN pip3 install -r /requirements.txt
|
||||
|
||||
RUN mkdir /images
|
||||
RUN mkdir /chat_images
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
cd /rDrama
|
||||
. ./.env
|
||||
export DATABASE_URL="postgresql://postgres@postgres:5432"
|
||||
export REDIS_URL="redis://redis:6379"
|
||||
export PROXY_URL="http://opera-proxy:18080"
|
||||
gunicorn files.__main__:app load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 --reload
|
Loading…
Reference in New Issue