You can add data to Data Catalog from your local file system by adding Local File System as a data source.
To access files on your local system, make the following changes to the
vendor/docker-compose.yml file to ensure that it is
accessible by the ws_default container.
- Open the vendor/docker-compose.yml file and add the following lines under the ws_default service.
services: ws_default: volumes: - /my/path/to/file:/tmp/my-path
You can also include a remote file share as a Local File System. As an example, refer to the following code snippet for adding cifs-share to the Local File System.
services: ws_default: volumes: - cifs-share:/cifs-share // Following are optional settings to add cifs share to local file system - cifs-share:/cifs-share //Remote file share volumes: cifs-share: driver_opts: type: cifs o: "username=<user1>,password=<password>,file_mode=0777,dir_mode=0777" device: "<IP Address>”
- Save changes.
- Restart the ws_default container for the changes to take effect.
Perform the following steps to identify your data source within Data Catalog: