()
| 142 | } |
| 143 | |
| 144 | get composeENV() : string { |
| 145 | if (this._composeENV === undefined) { |
| 146 | try { |
| 147 | this._composeENV = fs.readFileSync(path.join(this.path, ".env"), "utf-8"); |
| 148 | } catch (e) { |
| 149 | this._composeENV = ""; |
| 150 | } |
| 151 | } |
| 152 | return this._composeENV; |
| 153 | } |
| 154 | |
| 155 | get path() : string { |
| 156 | return path.join(this.server.stacksDir, this.name); |