version: '3' services: nextcloud: image: linuxserver/nextcloud container_name: nextcloud environment: - PUID=1000 - PGID=1000 - TZ=${TZ} volumes: - ${DIR}/nextcloud/config:/config - ${DIR}/data:/data networks: - backend ports: - 443:443 restart: unless-stopped networks: frontend: external: true backend: external: false