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