From 6166cbf1ed81404b441bdacd58500567aceac0cb Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Mon, 20 Apr 2026 14:26:03 -0400 Subject: [PATCH] fix mariadb --- tasks/mariadb.yml | 4 ++-- tasks/romm.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/mariadb.yml b/tasks/mariadb.yml index d5594f7..d7682bb 100644 --- a/tasks/mariadb.yml +++ b/tasks/mariadb.yml @@ -10,8 +10,8 @@ image: name: mariadb tag: latest - published_ports: - - "3306:3306" + networks: + - name: "{{ docker_network_name }}" volumes: - "{{ data_dir }}/db:/var/lib/mysql" - "{{ data_dir }}/db/etc:/etc/mysql" diff --git a/tasks/romm.yml b/tasks/romm.yml index 33a70b3..3ed9cf6 100644 --- a/tasks/romm.yml +++ b/tasks/romm.yml @@ -21,7 +21,7 @@ - "{{ data_dir }}/romm/config:/romm/config" - "{{ ROMM_LIBRARY_PATH }}:/romm/library" env: - DB_HOST: postgres + DB_HOST: mariadb DB_NAME: romm DB_USER: rommuser DB_PASSWD: romm