Describe the bug
This plugins defines a tutor.py file that allows you to override the default configuration of the service, this pattern is also used in other Tutor plugins (e.g. tutor-notes). Even though the tutor.py file is mounted in the container (local-docker-compose-services) it's not actually being used by the service. In order to make use of the file we would need to set the environment variable FLASK_APP_SETTINGS to use the tutor.py module in the container definition.
Describe the bug This plugins defines a
tutor.py
file that allows you to override the default configuration of the service, this pattern is also used in other Tutor plugins (e.g.tutor-notes
). Even though thetutor.py
file is mounted in the container (local-docker-compose-services
) it's not actually being used by the service. In order to make use of the file we would need to set the environment variableFLASK_APP_SETTINGS
to use thetutor.py
module in the container definition.Additionally we would need to use a new patch similar to
notes-settings
that allows us to override the default settings of the service..To Reproduce Steps to reproduce the behavior:
tutor.py
file and alter the default configuration (see description message)flask shell
app.config['CODE_JAIL']
in the shell.Expected behavior Is possible to modify the default values of the codejail service.