Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
installation_nextcloud

This is an old revision of the document!


Installation Docker Nextcloud

docker_compose.yml

nextcloud:
    image: nextcloud/all-in-one:latest
    restart: unless-stopped
    init: true
    container_name: nextcloud-aio-mastercontainer
    ports:
      - "8080:8080"
    environment:
      - APACHE_PORT=11000
      - APACHE_IP_BINDING=0.0.0.0
      - NEXTCLOUD_DATADIR=/mnt/cloud
      - NEXTCLOUD_UPLOAD_LIMIT=30G
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    depends_on:
      - caddy

volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work

Caddyfile

https://cloud.dutriez.eu:443 {
        header Strict-Transport-Security max-age=31536000;
        reverse_proxy localhost:11000
    }


http://cloud.local  {
        reverse_proxy nextcloud-aio-mastercontainer:11000
}
installation_nextcloud.1745866993.txt.gz · Last modified: 2025/04/28 21:03 by 192.168.0.254