version: '3' services: nextcloud-app: image: ucommandit/nextcloud container_name: try-ucommandit-nextcloud # use exec to substitute shell script at PID 1 ? entrypoint: ['exec /opt/bin/boot'] hostname: compose-uci-nextcloud env_file: nextcloud.env volumes: # - nextcloud:/opt/nextcloud - opt:/opt ports: - 8080:8080 - 9001:9001 volumes: # db: # driver: local # driver_opts: # o: bind # type: none # device: ${HOST_NEXTCLOUD_DB} opt: driver: local driver_opts: o: bind type: none device: ${PWD}/opt # nextcloud: # driver: local # driver_opts: # o: bind # type: none # device: ${PWD}/nextcloud # user-files: # driver: local # driver_opts: # o: bind # type: none # device: ${HOST_NEXTCLOUD_USERFILES}