🔧 pottwal: Mount prosody config read-only
The prosody process only needs to write in the certs subdirectory.
This commit is contained in:
parent
88e14f7ca6
commit
d79566f613
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue