int-brain-lab / iblalyx

MIT License
0 stars 0 forks source link

Alyx deployment container #56

Closed oliche closed 2 months ago

oliche commented 4 months ago

The production Alyx had interruptions of service. The container becomes unresponsive and it is unclear if it is due to the container running out of space or compute resources.

In the meantime a bigger instance with a clean log files has been started, but the solution is temporary.

To make the solution more scalable, we want the container to be stateless. This means:

  1. the container contains no hard coded settings: all configuration settings are provided by environment variable supplied at run time. There is only one settings.py files for openalyx, dev alyx and prod alyx
  2. the container contains no data or files: the first example are log files that should be on an attached volume

Here are the concrete steps: