# PUBLIC OR PRIVATE NUMBER OF PROJECT PER USER
MAX_PRIVATE_PROJECTS_PER_USER = 1 # None == no limit
MAX_PUBLIC_PROJECTS_PER_USER = 0 # None == no limit
MAX_MEMBERSHIPS_PRIVATE_PROJECTS = None # None == no limit
MAX_MEMBERSHIPS_PUBLIC_PROJECTS = None # None == no limit
which can be found in taiga-back/settings/config.py.prod.example.
I’m having trouble restricting project creation for a Docker installation. I tried exposing the responsible variables via .env and reading them in through docker-compose.yml/docker-compose-inits.yml but without any effect.
Then again, skimming the code, it appears to me that these variables can only be set through a dedicated config.py. Can somebody confirm this? That would be a real pity.
Would that then mean that I’d have to dump the current .env-based installation and switch to a configuration via the Python configuration file?
change config.py in taiga-back/docker.
Add those variables in the file, reading from os.getenv (check the file and follow other examples).
Then build your own taiga docker image and use it in your docker-compose.yml
use the advanced configuration and map a config.py file with all the configurations you want/need