From 623e599a985dc900cdf44e931cbc671e7533e86a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 5 Dec 2023 11:31:20 +0100 Subject: [PATCH] nextcloud: add --- docker-compose.yml | 1 + services/nextcloud.yml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 services/nextcloud.yml diff --git a/docker-compose.yml b/docker-compose.yml index 2f2f54d..32fc232 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ include: - services/miniflux.yml - services/jelu.yml - services/sonarr.yml + - services/nextcloud.yml services: diff --git a/services/nextcloud.yml b/services/nextcloud.yml new file mode 100644 index 0000000..7719ec1 --- /dev/null +++ b/services/nextcloud.yml @@ -0,0 +1,20 @@ +--- +services: + nextcloud: + image: registry.kucharczyk.xyz/nextcloud:latest + container_name: nextcloud + networks: + public: + ipv4_address: 192.168.240.40 + depends_on: + - postgres + volumes: + - "${DOCKER_STORAGE_PATH}/nextcloud/config:/var/www/html/config" + - "${DOCKER_STORAGE_PATH}/nextcloud/data:/var/www/html/data" + - "${DOCKER_STORAGE_PATH}/nextcloud/html:/var/www/html" + environment: + # caddy + - TRUSTED_PROXIES=192.168.240.2 + profiles: + - base + restart: unless-stopped