Chimney is designed to work as a single website in a container together with the chimney binary, but what if we could serve multiple instead.
This will indeed be a breaking change if I go about it the wrong way, but we could add a new tenant-mode (or just mode although it may be more confusing) option that can be set to single or multi and that will be used to decide if the server wants to go with the root_dir or a new sites array of tables.
[x] support single and multi mode in config
[x] implement support for single mode
[ ] Implement support for multi mode
[ ] traverse all directories (with some exclusions) and find config files
Note: prevent infinitely looping through cases like symlinks
Chimney is designed to work as a single website in a container together with the chimney binary, but what if we could serve multiple instead.
This will indeed be a breaking change if I go about it the wrong way, but we could add a new
tenant-mode
(or justmode
although it may be more confusing) option that can be set tosingle
ormulti
and that will be used to decide if the server wants to go with theroot_dir
or a newsites
array of tables.single
andmulti
mode in configsingle
modemulti
mode