dockercompose

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7d2b714bfa98845f94d7609defead81e3d7f7de4
parent 7896cf2fb176f714cb5935a70db56227e5d4a864
Author: AndrewLockVI <andrewlaack1@gmail.com>
Date:   Tue,  2 Apr 2024 22:43:29 -0500

Updated docker compose to support mariadb (mysql) and nextcloud integration

Diffstat:
Mdocker-compose.yml | 25+++++++++++++++++++++++++
1 file changed, 25 insertions(+), 0 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml @@ -70,3 +70,28 @@ services: - "80:80" - "443:443" + mariadb: + image: mariadb:10.6 + container_name: mariadb + restart: always + command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW + volumes: + - ../mariadb:/var/lib/mysql + environment: + - MYSQL_DATABASE=nextcloud + - MYSQL_USER=nextcloud + + nextcloud: + container_name: nextcloud + image: nextcloud + restart: always + ports: + - 8082:80 + links: + - mariadb + volumes: + - ../nextcloud:/var/www/html + environment: + - MYSQL_DATABASE=nextcloud + - MYSQL_USER=nextcloud + - MYSQL_HOST=mariadb