Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3496765
D4173.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
810 B
Referenced Files
None
Subscribers
None
D4173.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4173: [keyserver] Allow listening address to be configured
Attached
Detach File
Event Timeline
Log In to Comment