From d0ca1322c356cc44a287daad314e9d1541bf8141 Mon Sep 17 00:00:00 2001 From: fadmin Date: Thu, 11 Jun 2026 14:50:54 -0400 Subject: [PATCH] Update compose.yaml --- compose.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/compose.yaml b/compose.yaml index 87f0b00..9da2378 100644 --- a/compose.yaml +++ b/compose.yaml @@ -53,6 +53,24 @@ services: - traefik.enable=true - traefik.backend=redis +services: + # MySQL Database Service + db: + image: mysql:8.0 + container_name: mysql_server + restart: always + environment: + MYSQL_ROOT_PASSWORD: super_secret_root_password + MYSQL_DATABASE: my_database + MYSQL_USER: my_db_user + MYSQL_PASSWORD: my_db_password + ports: + - "3306:3306" + volumes: + - mysql_data:/var/lib/mysql + networks: + - web + NextCloud: image: nextcloud:latest container_name: NameOfYourContainer