aboutsummaryrefslogtreecommitdiff
path: root/ci/config-templates
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-06-06 17:19:48 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-06-06 17:19:48 -0400
commit5ecd6b39cccdc9500540b10685605b5fcba61f69 (patch)
tree5fc28fda9328fdad250e72664bca81abe407dfad /ci/config-templates
parent3a62bafd210a2e00d23d3df773e47011e09eba6e (diff)
Update and expose storage config for container
Diffstat (limited to 'ci/config-templates')
-rw-r--r--ci/config-templates/CMNext-template.json (renamed from ci/config-templates/CMNext.json)27
1 files changed, 12 insertions, 15 deletions
diff --git a/ci/config-templates/CMNext.json b/ci/config-templates/CMNext-template.json
index ab74578..486f68a 100644
--- a/ci/config-templates/CMNext.json
+++ b/ci/config-templates/CMNext-template.json
@@ -20,25 +20,22 @@
"index_file_name": "${CHANNEL_INDEX_FILE}"
},
- //S3 setup with vault secrets
- "disabled s3_config": {
- "server_address": "",
- "access_key": "",
- "bucket": "",
- "use_ssl": true,
- "Region": null
- },
+ "storage": {
+
+ "custom_storage_assembly": "${STORAGE_CUSTOM_ASSEMBLY}",
+
+ "type": "${STORAGE_TYPE}", //s3 | ftp
- "disabled ftp_config": {
- "url": "",
- "username": "",
- //Base path within the ftp user's directory
- "base_path": ""
+ //storage config
+ "server_address": "${STORAGE_SERVER_ADDRESS}",
+ "access_key": "${STORAGE_USERNAME}",
+ "bucket": "${STORAGE_BUCKET}",
+ "use_ssl": ${STORAGE_USE_SSL},
+ "Region": "${S3_REGION}"
},
"secrets": {
//Set the vault path to the s3 secret
- "s3_secret": "",
- "ftp_password": ""
+ "storage_secret": "${STORAGE_SECRET}"
}
} \ No newline at end of file