jhpyle / docassemble

A free, open-source expert system for guided interviews and document assembly, based on Python, YAML, and Markdown.
https://docassemble.org
MIT License
753 stars 251 forks source link

External Database #784

Open haseebmukhtar opened 2 weeks ago

haseebmukhtar commented 2 weeks ago

Hi I am using external database but still local database on container is running.

how can we shutdown local database in container if using external database

jhpyle commented 2 weeks ago

It would be easiest to just ignore the fact that there is a PostgreSQL server on the container doing nothing. It doesn't cause any harm. If you want to prevent it from running you can set a CONTAINERROLE that doesn't include sql.

haseebmukhtar commented 2 weeks ago

Thanks, I will try CONTAINERROLE. Need to shutdown PostgreSQL server to reduce the required memory of container.