Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion quantum_app_backend/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ EXPOSE 3001
ENV FLASK_APP=app.py

# Run the Flask app
CMD ["gunicorn","--config", "gunicorn_config.py", "app:app"]
CMD ["python3", "app.py"]
4 changes: 0 additions & 4 deletions quantum_app_backend/gunicorn_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import os



workers = int(os.environ.get('GUNICORN_PROCESSES', '2'))

threads = int(os.environ.get('GUNICORN_THREADS', '4'))
Expand All @@ -10,8 +8,6 @@

bind = os.environ.get('GUNICORN_BIND', '0.0.0.0:3001')



forwarded_allow_ips = '*'

secure_scheme_headers = { 'X-Forwarded-Proto': 'https' }
4 changes: 3 additions & 1 deletion quantum_app_backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ matplotlib
flask-pymongo
dotenv
flask-socketio
gunicorn==23.0.0
gunicorn==23.0.0
eventlet==0.39.1
greenlet==3.1.1
Loading