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