tutor-cairn/tutorcairn/patches/local-docker-compose-permissions-command
Danyal Faheem 04f4275236
fix: do not add cairn-postgresql and cairn-clickhouse dependencies when they are running externally (#57)
* fix: don't add cairn-postgresql as a dependency when CAIRN_RUN_POSTGRESQL is false

* fix: don't manage cairn-clickhouse permissions CAIRN_RUN_CLICKHOUSE is false

* fix: add missing CAIRN_POSTGRESQL_HOST and CAIRN_POSTGRESQL_PORT settings to allow usage with external postgresql DBs
2025-03-14 17:48:06 +05:00

3 lines
152 B
Plaintext

{% if CAIRN_RUN_CLICKHOUSE %}setowner 1000 /data/cairn-clickhouse{% endif %}
{% if CAIRN_RUN_POSTGRESQL %}setowner 70 /data/cairn-postgresql{% endif %}