-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSP dashboard: Update readme to document all required config values (#…
…24773) Changes: - Updated the MSP dashboard's readme to include a section about required config values for software features. - Added config values required for software features to the MSP dashboard's docker-compose file. - Added an uploads configuration file that lists the configuration values required for software features.
- Loading branch information
Showing
3 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* File Upload Settings | ||
* (sails.config.uploads) | ||
* | ||
* These options tell Sails where (and how) to store uploaded files. | ||
* | ||
* > This file is mainly useful for configuring how file uploads in your | ||
* > work during development; for example, when lifting on your laptop. | ||
* > For recommended production settings, see `config/env/production.js` | ||
* | ||
* For all available options, see: | ||
* https://sailsjs.com/config/uploads | ||
*/ | ||
|
||
module.exports.uploads = { | ||
|
||
/*************************************************************************** | ||
* * | ||
* Sails apps upload and download to the local disk filesystem by default, * | ||
* using a built-in filesystem adapter called `skipper-disk`. This feature * | ||
* is mainly intended for convenience during development since, in * | ||
* production, many apps will opt to use a different approach for storing * | ||
* uploaded files, such as Amazon S3, Azure, or GridFS. * | ||
* * | ||
* Most of the time, the following options should not be changed. * | ||
* (Instead, you might want to have a look at `config/env/production.js`.) * | ||
* * | ||
***************************************************************************/ | ||
// bucket: '',// The name of the S3 bucket where software installers will be stored. | ||
// region: '', // The region where the S3 bucket is located. | ||
// secret: '', // The secret for the S3 bucket where unassigned software installers will be stored. | ||
// bucketWithPostfix: '', // This value should be set to the same value as the bucket unless the files are stored in a folder in the S3 bucket. In that case, this value needs to be set to `{bucket name}{folder name}` e.g., unassigned-software-installers/staging | ||
// prefixForFileDeletion: '', // Only required if the software installers are stored in a folder in the S3 bucket. The name of the folder where the software installers are stored in the S3 bucket with a trailing slash. e.g., staging/ | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters