🔧 pottwal: Mount prosody config read-only

The prosody process only needs to write in the certs subdirectory.
This commit is contained in:
Alexander Dahl 2022-12-20 18:07:08 +01:00
parent 88e14f7ca6
commit d79566f613

View file

@ -186,7 +186,8 @@
- 5222:5222 # xmpp-client
- 5269:5269 # xmpp-server
volumes:
- "{{ prosody_config_dir }}:/etc/prosody:rw"
- "{{ prosody_config_dir }}:/etc/prosody:ro"
- "{{ prosody_config_dir }}/certs:/etc/prosody/certs:rw"
- "{{ prosody_data_dir }}/var/lib/prosody:/var/lib/prosody:rw"
- "{{ prosody_data_dir }}/var/log/prosody:/var/log/prosody:rw"
- "{{ dehydrated_certs_dir }}/{{ prosody_domain_name }}:/var/lib/dehydrated/certs/{{ prosody_domain_name }}:ro"