commit
a1a3da650c
|
@ -7,4 +7,7 @@ RUN npm install
|
||||||
|
|
||||||
COPY src /usr/src
|
COPY src /usr/src
|
||||||
|
|
||||||
|
ENV PORT=80
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
CMD ["node", "index.js"]
|
CMD ["node", "index.js"]
|
||||||
|
|
|
@ -9,11 +9,8 @@ services:
|
||||||
- TOTP_SECRET=GRWGIJS6IRHVEODVNRCXCOBMJ5AGC6ZE
|
- TOTP_SECRET=GRWGIJS6IRHVEODVNRCXCOBMJ5AGC6ZE
|
||||||
- JWT_SECRET=unsecure_secret
|
- JWT_SECRET=unsecure_secret
|
||||||
- JWT_EXPIRATION_TIME=1h
|
- JWT_EXPIRATION_TIME=1h
|
||||||
- PORT=80
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- ldap
|
- ldap
|
||||||
expose:
|
|
||||||
- "80"
|
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
ldap:
|
ldap:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "two-factor-auth-server",
|
"name": "two-factor-auth-server",
|
||||||
"version": "1.0.10",
|
"version": "1.0.11",
|
||||||
"description": "Simple two factor authentication server with LDAP backend and TOTP",
|
"description": "Simple two factor authentication server with LDAP backend and TOTP",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue