Home Catalogus Nextcloud
Productivity

Nextcloud

A comprehensive self-hosted productivity and collaboration suite offering secure file storage, online document editing, calendar, and contacts synchronization.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Geen Lock-in)
RAM Profiel: Gemiddeld
Standaard Poort: Port 8080

Waarom deze configuratie?

Snelle Start (Standalone Docker Compose)

Onderstaand compose-fragment is direct te gebruiken in elke Docker- of Podman-omgeving:

services:
  nextcloud-app:
    image: nextcloud:stable
    container_name: nextcloud-app
    restart: always
    labels:
      - "com.centurylinklabs.watchtower.enable=false"
    depends_on:
      - nextcloud-db
      - nextcloud-redis
    ports:
      - "8080:80"
    networks:
      - njorddeploy_net
      - nextcloud-internal
    volumes:
      - "./data/nextcloud/data:/var/www/html"
    environment:
      TZ: "Europe/Amsterdam"
      MYSQL_PASSWORD: "ChangeMeSecurePassword123!"
      MYSQL_DATABASE: "nextcloud_db"
      MYSQL_USER: "nextcloud_user"
      MYSQL_HOST: "nextcloud-db"
      REDIS_HOST: "nextcloud-redis"
      NEXTCLOUD_TRUSTED_DOMAINS: "nextcloud.home.lan"
      MAIL_FROM_ADDRESS: "nextcloud"
      MAIL_DOMAIN: "example.com"
      SMTP_HOST: "smtp.example.com"
      SMTP_PORT: "587"
      SMTP_SECURE: "tls"
      SMTP_AUTHTYPE: "LOGIN"
      SMTP_AUTH: "true"
      SMTP_NAME: "notifications@example.com"
      SMTP_PASSWORD: "ChangeMeSecurePassword123!"

networks:
  njorddeploy_net:
  nextcloud-internal:
    name: nextcloud-internal

Start de service direct via de commandline: docker compose up -d

Configuratie & Omgevingsvariabelen

Belangrijkste configuratieparameters en standaardwaarden uit de NjordDeploy component-sjabloon:

Variable Default Value Description
PORT_NEXTCLOUD 8080 Port to access the Nextcloud web interface.
NEXTCLOUD_DATA_PATH /opt/njorddeploy/data/nextcloud/data Host path for storing Nextcloud application data and files.
NEXTCLOUD_TRUSTED_DOMAINS nextcloud.home.lan Space-separated list of domains Nextcloud will trust.
NEXTCLOUD_MAIL_FROM_ADDRESS nextcloud The sender name for system notifications.
NEXTCLOUD_MAIL_DOMAIN example.com The email domain for system notifications.
NEXTCLOUD_MAIL_SMTPHOST smtp.example.com The SMTP server address for outgoing mails.
NEXTCLOUD_MAIL_SMTPPORT 587 The SMTP port (e.g. 587 or 465).
NEXTCLOUD_MAIL_SMTPSECURE tls SMTP security layer (tls or ssl).
NEXTCLOUD_MAIL_SMTPNAME notifications@example.com The email address used to log into the SMTP server.
NEXTCLOUD_MAIL_SMTPPASSWORD *None* The password for the SMTP user.

Ecosysteem & Bedrijfsintegratie

Eenvoudig beheren via NjordDeploy

Installeer, bewaak en update deze service met 1 klik op uw eigen Raspberry Pi of Proxmox server via de NjordDeploy Configurator.