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
commit f08fcd30fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)