Skip to content

Commit 441c7db

Browse files
committed
Add back missing mirror vals
1 parent fc2e693 commit 441c7db

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy-mirror.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ jobs:
160160
sudo env \
161161
IMAGE="ghcr.io/${REPO}" IMAGE_TAG="$IMAGE_TAG" \
162162
PORT=3002 APP_REPLICAS=1 \
163+
UNDERLAY_MODE=mirror \
164+
UNDERLAY_UPSTREAM="${UNDERLAY_UPSTREAM:-https://www.underlay.org}" \
165+
UNDERLAY_NODE_NAME="${UNDERLAY_NODE_NAME:-}" \
163166
S3_ENDPOINT="${S3_ENDPOINT:-}" S3_REGION="${S3_REGION:-auto}" \
164167
S3_ACCESS_KEY="${S3_ACCESS_KEY:-}" S3_SECRET_KEY="${S3_SECRET_KEY:-}" \
165168
S3_BUCKET="${S3_BUCKET:-underlay}" \

src/lib/mirror-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function getMirrorConfig(): MirrorConfig {
1818
return {
1919
enabled: mode === "mirror",
2020
upstream: process.env.UNDERLAY_UPSTREAM ?? "",
21-
nodeName: process.env.UNDERLAY_NODE_NAME ?? "Mirror",
21+
nodeName: process.env.UNDERLAY_NODE_NAME ?? "IUA Mirror",
2222
syncSchedule: process.env.UNDERLAY_SYNC_SCHEDULE ?? "0 0 * * 0",
2323
apiKey: process.env.UNDERLAY_UPSTREAM_API_KEY ?? "",
2424
};

0 commit comments

Comments
 (0)