Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3500661
D6670.id22303.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
D6670.id22303.diff
View Options
diff --git a/keyserver/Dockerfile b/keyserver/Dockerfile
--- a/keyserver/Dockerfile
+++ b/keyserver/Dockerfile
@@ -21,6 +21,7 @@
ARG HOST_UID
ARG HOST_GID
ARG COMM_ALCHEMY_KEY
+ARG COMM_WALLETCONNECT_KEY
USER root
RUN \
diff --git a/keyserver/docker-compose.yml b/keyserver/docker-compose.yml
--- a/keyserver/docker-compose.yml
+++ b/keyserver/docker-compose.yml
@@ -8,6 +8,7 @@
- HOST_UID=${HOST_UID}
- HOST_GID=${HOST_GID}
- COMM_ALCHEMY_KEY=${COMM_ALCHEMY_KEY}
+ - COMM_WALLETCONNECT_KEY=${COMM_WALLETCONNECT_KEY}
image: commapp/node-keyserver:1.0
restart: always
ports:
diff --git a/lib/webpack/shared.cjs b/lib/webpack/shared.cjs
--- a/lib/webpack/shared.cjs
+++ b/lib/webpack/shared.cjs
@@ -90,6 +90,7 @@
}
const alchemyKey = process.env.COMM_ALCHEMY_KEY;
+const walletConnectKey = process.env.COMM_WALLETCONNECT_KEY;
function createProdBrowserConfig(baseConfig, babelConfig) {
const browserConfig = createBaseBrowserConfig(baseConfig);
@@ -104,6 +105,7 @@
NODE_ENV: JSON.stringify('production'),
BROWSER: true,
COMM_ALCHEMY_KEY: JSON.stringify(alchemyKey),
+ COMM_WALLETCONNECT_KEY: JSON.stringify(walletConnectKey),
},
}),
new MiniCssExtractPlugin({
@@ -170,6 +172,7 @@
NODE_ENV: JSON.stringify('development'),
BROWSER: true,
COMM_ALCHEMY_KEY: JSON.stringify(alchemyKey),
+ COMM_WALLETCONNECT_KEY: JSON.stringify(walletConnectKey),
},
}),
new ReactRefreshWebpackPlugin(),
@@ -240,6 +243,7 @@
new webpack.DefinePlugin({
'process.env': {
COMM_ALCHEMY_KEY: JSON.stringify(alchemyKey),
+ COMM_WALLETCONNECT_KEY: JSON.stringify(walletConnectKey),
},
}),
],
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 2:06 AM (17 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2682616
Default Alt Text
D6670.id22303.diff (1 KB)
Attached To
Mode
D6670: [keyserver][lib] Add COMM_WALLETCONNECT_KEY to Webpack build
Attached
Detach File
Event Timeline
Log In to Comment