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