--- version: "3" services: nextcloud: image: linuxserver/nextcloud:version-21.0.2 container_name: nextcloud hostname: nextcloud restart: always ports: - "3052:443" environment: - PUID=1000 - PGID=1000 - TZ=Etc/UTC volumes: - ./etc/nextcloud/config:/config - ./etc/nextcloud/data:/data ...