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,9 @@
- /home/{{ system_user_name }}/docker/npm/db:/var/lib/mysql
networks:
- name: npm_internal
ports:
- "{{ BORGMATIC_BACKUP_HOST }}:{{ BORGMATIC_NPM_MYSQL_PORT }}:{{ NPM_MYSQL_PORT }}"
- name: Create NPM Container
community.docker.docker_container: