Clone
2
Settings
tris edited this page 2026-05-24 15:41:27 +10:00

Environment

The following can be modified on a per-instance basis by setting the environment:

  • SECRET_KEY - Should be unique (required)
  • WORK_DIR - Where to store DB, index and cached files (defaults to BASE_DIR/data)
  • DEBUG - enable debug output

Settings files

These all derive from polyphonic.config.settings.base

  • base - some sensible defaults.
  • dev - enables logging and the debug toolbar
  • docker - adds the WhiteNoise module. Should remove this as docker packing adds a custom settings file.