@flowfuse/driver-docker 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ #### 2.2.1: Release
2
+
3
+ - Fix loading private CA certs in Instances (#87) @hardillb
4
+
1
5
  #### 2.2.0: Release
2
6
 
3
7
  - Pull missing Stack containers on first use (#85) @hardillb
package/docker.js CHANGED
@@ -1,4 +1,3 @@
1
- const fs = require('fs')
2
1
  const got = require('got')
3
2
  const Docker = require('dockerode')
4
3
 
@@ -90,7 +89,7 @@ const createContainer = async (project, domain) => {
90
89
  contOptions.Env.push('FORGE_LOG_PASSTHROUGH=true')
91
90
  }
92
91
 
93
- if (this._app.config.driver.options?.privateCA && fs.existsSync(this._app.config.driver.options?.privateCA)) {
92
+ if (this._app.config.driver.options?.privateCA) {
94
93
  contOptions.Binds = [
95
94
  `${this._app.config.driver.options.privateCA}:/usr/local/ssl-certs/chain.pem`
96
95
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/driver-docker",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Docker driver for FlowFuse",
5
5
  "main": "docker.js",
6
6
  "scripts": {