Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run with a development server or a WSGI server #198

Open
rkoumis opened this issue Nov 11, 2024 · 2 comments
Open

run with a development server or a WSGI server #198

rkoumis opened this issue Nov 11, 2024 · 2 comments

Comments

@rkoumis
Copy link
Collaborator

rkoumis commented Nov 11, 2024

make it so that we can select between

  • running the flask development server when developing / testing / debugging
  • running a production-style uwsgi server in production
@rkoumis
Copy link
Collaborator Author

rkoumis commented Nov 12, 2024

maybe something with profiles?

  docker-compose up --profiles=development

or a separate docker-compose file for development

@rkoumis
Copy link
Collaborator Author

rkoumis commented Nov 20, 2024

The Dockerfile-dalton CMD can be uwsgi (or gunicorn etc), and to run flask debug we can uncomment the command line in the docker-compose.yml file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant