expose db connect to localhost for backups

This commit is contained in:
2024-01-07 03:10:22 +01:00
parent 833ea3cd59
commit a05ebc81e9
4 changed files with 11 additions and 0 deletions

View File

@@ -30,6 +30,8 @@
- /home/{{ system_user_name }}/docker/nextcloud/db:/var/lib/mysql
networks:
- name: nextcloud_internal
ports:
- "{{ BORGMATIC_BACKUP_HOST }}:{{ BORGMATIC_NEXTCLOUD_MYSQL_PORT }}:{{ NEXTCLOUD_MYSQL_PORT }}"
- name: Create Nextcloud Redis Container
community.docker.docker_container: