Page MenuHomePhabricator

D4173.diff
No OneTemporary

D4173.diff

diff --git a/keyserver/docker-compose.yml b/keyserver/docker-compose.yml
--- a/keyserver/docker-compose.yml
+++ b/keyserver/docker-compose.yml
@@ -10,6 +10,7 @@
- "3000:3000"
environment:
- REDIS_URL=redis://cache
+ - COMM_LISTEN_ADDR=0.0.0.0
- COMM_MYSQL_HOST=${COMM_MYSQL_HOST:-database}
- COMM_MYSQL_DATABASE
- COMM_MYSQL_USER
diff --git a/keyserver/src/keyserver.js b/keyserver/src/keyserver.js
--- a/keyserver/src/keyserver.js
+++ b/keyserver/src/keyserver.js
@@ -160,6 +160,9 @@
server.use(squadCalBaseRoutePath, squadCalRouter);
}
- server.listen(parseInt(process.env.PORT, 10) || 3000, 'localhost');
+ server.listen(
+ parseInt(process.env.PORT, 10) || 3000,
+ process.env.COMM_LISTEN_ADDR || 'localhost',
+ );
}
})();

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 2:43 PM (17 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2681948
Default Alt Text
D4173.diff (810 B)

Event Timeline