sasjs / server

Build Apps on Base SAS

Home Page:https://server.sasjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable `DRIVE_LOCATION` setting for deploying multiple instances of SASjs Server

allanbowe opened this issue ยท comments

Currently it is not possible for multiple instances of SASjs Server to share the same SASJS_ROOT - due to conflicts with logs, session folders etc.

Therefore we should look to separate the shareable parts from the instance-specific parts.

The proposal is as follows:

  1. Implement new setting - DRIVE_LOCATION
  2. This defaults to $(SASJS_ROOT)/drive if not specified
  3. This should contain all of the following:
    • The ./files directory (becomes $(SASJS_ROOT)/drive/files)
    • The ./sasjscore directory (becomes $(SASJS_ROOT)/drive/sasjscore)
    • The appStreamConfig.json file (becomes $(SASJS_ROOT)/drive/appStreamConfig.json
  4. If the DRIVE_LOCATION is not $(SASJS_ROOT)/drive then the above items should NOT be generated during the launch of SASjs Server.

The above actions will mean that the logs / sessions / uploads folders will be isolated from other instances.

The DRIVE_LOCATION is also where we should ultimately stick the sasv9.cfg file, per: #278

This looks very useful

๐ŸŽ‰ This issue has been resolved in version 0.25.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

Thanks for doing this so fast.