Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3395430
D8577.id28983.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8577.id28983.diff
View Options
diff --git a/docs/nix_dev_env.md b/docs/nix_dev_env.md
--- a/docs/nix_dev_env.md
+++ b/docs/nix_dev_env.md
@@ -136,6 +136,7 @@
## Production workflows
- [Services deployment](./nix_services_deployment.md)
+ - [Keyserver](./nix_services_deployment.md#keyserver)
- [Tunnelbroker](./nix_services_deployment.md#tunnelbroker)
## Using alternate shells with Nix
diff --git a/docs/nix_services_deployment.md b/docs/nix_services_deployment.md
--- a/docs/nix_services_deployment.md
+++ b/docs/nix_services_deployment.md
@@ -1,5 +1,39 @@
# Services Deployment
+## Keyserver
+
+Deploying the keyserver requires configuring it, building its Docker image, and deploying that image with Docker Compose.
+
+### Configuration
+
+In order for the keyserver to interact with other services and tools, the following must be added to `keyserver/.env`:
+
+```
+# Mandatory
+COMM_DATABASE_DATABASE=comm
+COMM_DATABASE_USER=<located in keyserver/secrets/db_config.json>
+COMM_DATABASE_PASSWORD=<located in keyserver/secrets/db_config.json>
+COMM_JSONCONFIG_secrets_user_credentials='{"username":"<user>","password":"<password>"}'
+# Production instance
+COMM_JSONCONFIG_secrets_identity_service_config="{\"identitySocketAddr\":\"https://identity.commtechnologies.org:50054\"}"
+
+# Required for ETH Login
+COMM_JSONCONFIG_secrets_alchemy='{"key":"<alchemy key>"}'
+COMM_JSONCONFIG_secrets_walletconnect='{"key":"<wallet connect key>"}'
+
+# Optional
+COMM_JSONCONFIG_secrets_geoip_license='{"key":"<geoip license key>"}'
+```
+
+### Deploying Keyserver
+
+Once configured, the keyserver can be deployed by simply running:
+
+```
+cd keyserver
+./bash/dc.sh up --build
+```
+
## Tunnelbroker
Deploying Tunnelbroker consists of building its Docker image and deploying that image as a Docker container.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 2, 5:03 AM (16 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2606725
Default Alt Text
D8577.id28983.diff (1 KB)
Attached To
Mode
D8577: [Docs] Document keyserver deployment
Attached
Detach File
Event Timeline
Log In to Comment