add bind mount for matrix-synapse redis #24

Merged
ben merged 1 commits from matrix-redis into main 2022-10-14 20:19:16 +00:00
1 changed files with 13 additions and 1 deletions

View File

@ -11,6 +11,12 @@
- name: log - name: log
- name: registration - name: registration
- name: element - name: element
- name: redis
owner: 999
group: 999
- name: redis/data
owner: 999
group: 999
- name: postgresql user - name: postgresql user
postgresql_user: postgresql_user:
@ -82,11 +88,17 @@
timeout: 60s timeout: 60s
start_period: 10s start_period: 10s
test: "redis-cli --raw incr ping" test: "redis-cli --raw incr ping"
mounts:
- type: bind
source: "{{ systemuserlist.matrix.home }}/redis/data"
target: /data
tags: tags:
- matrix-container - matrix-container
- docker-containers - docker-containers
- redis - redis
- matrix-redis
- matrix-redis-container
- redis-container
# register_new_matrix_user -u $username -t bot -c /data/homeserver.yaml http://localhost:8008 # register_new_matrix_user -u $username -t bot -c /data/homeserver.yaml http://localhost:8008