From 1c0904b47357c7658cdad8e61c5213702d7c7855 Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 3 Jan 2024 19:15:04 +0100 Subject: [PATCH] =?UTF-8?q?nextcloud/docker-compose.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nextcloud/docker-compose.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 nextcloud/docker-compose.yml diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml new file mode 100644 index 0000000..98f9932 --- /dev/null +++ b/nextcloud/docker-compose.yml @@ -0,0 +1,33 @@ +version: '3' +services: + db: + image: mariadb + restart: always + command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed + volumes: + - db:/var/lib/mysql + environment: + MYSQL_ROOT_PASSWORD: password + MYSQL_PASSWORD: password + MYSQL_DATABASE: nextcloud + MYSQL_USER: nextcloud + app: + image: lscr.io/linuxserver/nextcloud + restart: always + ports: + - 80:80 + volumes: + - config:/config + - data:/data + depends_on: + - db + environment: + MYSQL_PASSWORD: password + MYSQL_DATABASE: nextcloud + MYSQL_USER: nextcloud + MYSQL_HOST: db + +volumes: + db: + config: + data: \ No newline at end of file