From dd486a25dd72e5d0126e853340c79fa71e3743a1 Mon Sep 17 00:00:00 2001 From: DrMxrcy <58747968+DrMxrcy@users.noreply.github.com> Date: Tue, 12 Sep 2023 10:02:06 -0400 Subject: [PATCH] FixDB Connection (#1190) --- apps/movary/config.json | 8 +++++++- apps/movary/docker-compose.yml | 5 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/apps/movary/config.json b/apps/movary/config.json index 9ab1d6c4..184744bd 100644 --- a/apps/movary/config.json +++ b/apps/movary/config.json @@ -5,7 +5,7 @@ "available": true, "exposable": true, "id": "movary", - "tipi_version": 13, + "tipi_version": 14, "version": "0.57.0", "categories": [ "media" @@ -21,6 +21,12 @@ "min": 32, "env_variable": "MOVARY_MYSQL_PASSWORD" }, + { + "type": "random", + "label": "MySQL Root Password", + "min": 32, + "env_variable": "MOVARY_MYSQL_ROOT_PASSWORD" + }, { "type": "text", "label": "The MovieDB API Key", diff --git a/apps/movary/docker-compose.yml b/apps/movary/docker-compose.yml index e1a1d990..540bd34a 100644 --- a/apps/movary/docker-compose.yml +++ b/apps/movary/docker-compose.yml @@ -50,12 +50,13 @@ services: traefik.http.routers.movary-local.tls: true movary-db: - image: linuxserver/mariadb:latest + image: mysql:8.0 + container_name: movary-db environment: MYSQL_DATABASE: "movary" MYSQL_USER: "tipi" MYSQL_PASSWORD: ${MOVARY_MYSQL_PASSWORD} - MYSQL_ROOT_PASSWORD: ${MOVARY_MYSQL_PASSWORD} + MYSQL_ROOT_PASSWORD: ${MOVARY_MYSQL_ROOT_PASSWORD} volumes: - ${APP_DATA_DIR}/data/mysql:/config networks: