Use a Custom Object Store

An object store is provided as part of the Discover application, to store assets such as media files. If you wish, you can use your own S3-compatible object store instead.

To use a custom object store

  1. Open the configuration file config/base.env and change the properties that specify the location and credentials to use for the object store:

    # location of the `filestore` component, as accessed from Docker containers
    ISOL_FILESTORE_SERVICE_HOST=filestore-service
    ISOL_FILESTORE_SERVICE_PORT=9000
    ISOL_FILESTORE_SERVICE_PATH=/
    # credentials to configure and use for accessing the object store
    ISOL_FILESTORE_SERVICE_USERNAME=my-filestore-user
    ISOL_FILESTORE_SERVICE_PASSWORD=my-filestore-pass
    # bucket to use for storing files in the object store
    ISOL_FILESTORE_SERVICE_BUCKET=discover-files
  2. Deploy the application without the built-in object store, by omitting the filestore argument when you run the deployment script. For example:

    python3 deploy.py --init auth entity analysis audit dataset-locations api ui