Skip to content

Commit fe97a7d

Browse files
committed
fix(apps): update environment variable names for auth and login servers
1 parent 0a8131b commit fe97a7d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/lit-auth-server/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
FROM --platform=linux/amd64 docker.io/node:lts-alpine
88

99
ENV NODE_ENV=production
10-
ENV HOST=0.0.0.0
11-
ENV PORT=3000
10+
ENV AUTH_SERVER_HOST=0.0.0.0
11+
ENV AUTH_SERVER_PORT=3000
1212

1313
WORKDIR /app
1414

apps/lit-auth-server/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createLitAuthServer } from '@lit-protocol/auth-services';
22
import { startAuthServiceWorker } from '@lit-protocol/auth-services';
33

44
const litAuthServer = createLitAuthServer({
5-
port: Number(process.env['PORT']) || 3000,
5+
port: Number(process.env['AUTH_SERVER_PORT']) || 3000,
66
host: process.env['AUTH_SERVER_HOST'],
77
network: process.env['NETWORK'],
88
litTxsenderRpcUrl: process.env['LIT_TXSENDER_RPC_URL'] as string,

apps/lit-login-server/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
FROM --platform=linux/amd64 docker.io/node:lts-alpine
88

99
ENV NODE_ENV=production
10-
ENV HOST=0.0.0.0
11-
ENV PORT=3000
10+
ENV LOGIN_SERVER_HOST=0.0.0.0
11+
ENV LOGIN_SERVER_PORT=3000
1212

1313
WORKDIR /app
1414

0 commit comments

Comments
 (0)