Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
mallendeo committed Feb 17, 2019
1 parent c8bd655 commit c41702c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
'use strict'

require('dotenv').config()

const {
VPN_USER,
VPN_PASS,
IMAGE_NAME = 'vpnproxy',
DOCKER_PREFIX = 'proxy',
PORT = 5050
} = process.env

module.exports = {
user: VPN_USER,
pass: VPN_PASS,
imageName: IMAGE_NAME,
dockerPrefix: DOCKER_PREFIX,
proxy: {
startsFrom: 5000,
port: PORT
}
}

0 comments on commit c41702c

Please sign in to comment.