Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export function ClusterNode({
const connectionDetails: ConnectionDetails = {
host: primary.host,
port: primary.port.toString(),
...(primary.username && primary.password && {
username: primary.username,
...(primary.password && {
username: primary.username ?? "",
password: await secureStorage.encrypt(primary.password),
}),
tls: primary.tls,
Expand Down
3 changes: 3 additions & 0 deletions docker/Dockerfile.app
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ RUN npm run build:all
# -------- Production Runtime --------
FROM node:22-bookworm-slim

# Install CA certificates for TLS connections to ElastiCache
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates && rm -rf /var/lib/apt/lists/*

WORKDIR /app

ENV NODE_ENV=production
Expand Down
Loading