Administration

Connect data providers

Profuz LAPIS allows to connect local, network, FTP, Google Drive, Dropbox, S3 and many others storages

  1. Open ~/apache-tomcat/production-cofig.json file in your favorite text editor
  2. Add or edit the following entry in "providers" array:
     
  {
      "storageId": 11,
      "className": "com.profuzdigital.data_server.database.providers.vfs.VfsDataProvider",
      "name": [ { "language": "en", "country": "US", "searchValue": "Storage Name" } ],
      "enabled": true,
      "authenticationDataProperties": {
        "public": ["domain", "username"],
        "sensitive": ["password"]
      },
      "indexPath": "data/vfs-blob-index",
      "uri": "file:///DATA/DATA/DATA/",
      "fileMonitorDelay": 3600000,
      "rootAuthentication": {
        "domain": null,
        "username": "guest",
        "password": ""
      },
      "defaultAuthentication": {
        "domain": null,
        "username": "guest",
        "password": ""
      }
  }

 
Fields explanation:

Save and restart tomcat to apply the changes:

sudo systemctl restart tomcat.service

SMTP Configuration

To configure SMTP server that LAPIS will use to send emals do the following:

"smtp": {
    "protocol": "TLS",
    "host": "mail.example.com",
    "port": 587,
    "username": "youraccount@example.com",
    "password": "you-passwors",
    "sender": "no-reply@example.com"
  },

Restart tomcat to apply the changes:

sudo systemctl restart tomcat.service

Server Address

To configure the server address that LAPIS will use when generating links in the emails it sends do the following:

"serverAddress": "http://localhost",

Change "http://localhost" with your LAPIS server address, for example "https://lapis.example.com"

Restart tomcat to apply the changes:

sudo systemctl restart tomcat.service