NextCloud - Funky Penguin's Geek Cookbook

NextCloud (a fork of OwnCloud, led by original developer Frank Karlitschek) is a suite of client-server software for creating and using file hosting services. It is functionally similar to Dropbox, although Nextcloud is free and open-source, allowing anyone to install and operate it on a private server. - https://en.wikipedia.org/wiki/Nextcloud


This is a companion discussion topic for the original entry at https://geek-cookbook.funkypenguin.co.nz/recipes/nextcloud/

@funkypenguin Hi David, thank you first for your greath collection.

If i run Nextcloud i receive a issue with the ‘Strict-Transport-Security’ that i have to enable Enable HTTP Strict Transport Security with traefik i could solve this issue with a new label.

  nextcloud:
    image: nextcloud  
    ...
    deploy:
      labels:
        - traefik.frontend.rule=Host:nextcloud.example.com
        - traefik.docker.network=traefik_public
        - traefik.port=80
# fix Enable HTTP Strict Transport Security
        - traefik.frontend.headers.STSSeconds=15552000