From e25a27cd5a0368f9faf5e269d6147e43214e0b80 Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Thu, 12 Jan 2017 23:27:53 +0100 Subject: [PATCH 1/2] Expose port 80 in the dockerfile --- Dockerfile | 3 +++ docker-compose.yml | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9148430c..00fcfc7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,7 @@ RUN npm install COPY src /usr/src +ENV PORT=80 +EXPOSE 80 + CMD ["node", "index.js"] diff --git a/docker-compose.yml b/docker-compose.yml index a42f59c8..23ceb235 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,11 +9,8 @@ services: - TOTP_SECRET=GRWGIJS6IRHVEODVNRCXCOBMJ5AGC6ZE - JWT_SECRET=unsecure_secret - JWT_EXPIRATION_TIME=1h - - PORT=80 depends_on: - ldap - expose: - - "80" restart: always ldap: From d54384a4e91341b5bd2420669f617ff5ad01a372 Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Thu, 12 Jan 2017 23:28:23 +0100 Subject: [PATCH 2/2] 1.0.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6c83f9b9..7fd7ba08 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "two-factor-auth-server", - "version": "1.0.10", + "version": "1.0.11", "description": "Simple two factor authentication server with LDAP backend and TOTP", "main": "src/index.js", "scripts": {