From 21f0416527b9cc555a3e3432053afacf31d10b15 Mon Sep 17 00:00:00 2001 From: Louis Date: Thu, 17 Nov 2022 10:44:42 +0000 Subject: [PATCH] Docker Nextcloud --- .../50-docker/nextcloud/docker-compose.yml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Sio2/SISR/50-docker/nextcloud/docker-compose.yml diff --git a/Sio2/SISR/50-docker/nextcloud/docker-compose.yml b/Sio2/SISR/50-docker/nextcloud/docker-compose.yml new file mode 100644 index 0000000..1c07669 --- /dev/null +++ b/Sio2/SISR/50-docker/nextcloud/docker-compose.yml @@ -0,0 +1,33 @@ +version: '2' + +volumes: + nextcloud: + db: + +services: + db: + image: mariadb:10.5 + restart: always + command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW + volumes: + - db:/var/lib/mysql + environment: + - MYSQL_ROOT_PASSWORD=root + - MYSQL_PASSWORD=nextcloud + - MYSQL_DATABASE=nextcloud + - MYSQL_USER=nextcloud + + app: + image: nextcloud + restart: always + ports: + - 8080:80 + links: + - db + volumes: + - nextcloud:/var/www/html + environment: + - MYSQL_PASSWORD=nextcloud + - MYSQL_DATABASE=nextcloud + - MYSQL_USER=nextcloud + - MYSQL_HOST=db