Merge pull request #167 from dargmuesli/fix/docker-secret-path

Docker Secrets: Correct Source Path
This commit is contained in:
Sheogorath
2019-09-03 09:26:08 +03:00
committed by GitHub

View File

@@ -3,7 +3,7 @@
const fs = require('fs')
const path = require('path')
const basePath = path.resolve('/var/run/secrets/')
const basePath = path.resolve('/run/secrets/')
function getSecret (secret) {
const filePath = path.join(basePath, secret)