Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add correct env vars #353

Merged
merged 45 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
2b5bc6c
fix dockle scan on ci
Baja-KS Aug 26, 2024
39a1732
fix registry login
Baja-KS Aug 26, 2024
cf7123c
debug imgs
Baja-KS Aug 26, 2024
6bee09c
scan tar imgs
Baja-KS Aug 26, 2024
0c1460c
test
Baja-KS Aug 26, 2024
dd6318b
add tar cleanup
Baja-KS Aug 26, 2024
a3b8dae
test
Baja-KS Aug 26, 2024
2298f2f
pr workflow fix
Baja-KS Aug 26, 2024
ef1b614
declutter dockle
Baja-KS Aug 27, 2024
458e3a9
add comment
Baja-KS Aug 27, 2024
5309d7e
Merge pull request #310 from IntersectMBO/test-pr-merge-comment
Baja-KS Aug 27, 2024
9b68718
add microservice in pr comment
Baja-KS Aug 27, 2024
ae4f9f5
Merge pull request #311 from IntersectMBO/test-2-comment
Baja-KS Aug 27, 2024
24877fd
test w/ individual service failing
Baja-KS Aug 27, 2024
dfcb047
fix dockerfile
Baja-KS Aug 27, 2024
6e1477e
fix: vote table row responsiveness
Vojimirovich Sep 3, 2024
931c47c
Merge pull request #324 from IntersectMBO/fix/votes-table-row-responsive
Vojimirovich Sep 4, 2024
10bb2f5
Merge pull request #312 from IntersectMBO/test-fail-fast
Baja-KS Sep 7, 2024
8f9ce00
Refactor/change logic for file upload to S3 (#328)
BEdev24 Sep 10, 2024
bf33164
feat: dht-queue (#336)
BEdev24 Sep 10, 2024
998fbec
refactor: image upload to S3 (#337)
BEdev24 Sep 10, 2024
80d62e9
fitx/rationale-governance-format
BEdev24 Sep 11, 2024
709924d
chore: change guides btn link
Vojimirovich Sep 11, 2024
ed36368
Merge pull request #339 from IntersectMBO/chore/change-guides-btn-link
Vojimirovich Sep 11, 2024
565adb0
fix: rm-gap-title-abstract-len-constraint
BEdev24 Sep 11, 2024
ea9bc40
refactor: add redis username
BEdev24 Sep 11, 2024
e4908f5
Fix add redis creds (#343)
BEdev24 Sep 11, 2024
0195603
Fix add redis creds (#344)
BEdev24 Sep 11, 2024
134efbc
fix: typo
BEdev24 Sep 11, 2024
3623193
fix: typo
BEdev24 Sep 11, 2024
7347e4b
refactor: cache service
BEdev24 Sep 11, 2024
69fc617
refactor/redis-auth (#345)
BEdev24 Sep 11, 2024
9ade333
fix: plural grammar corrections
Vojimirovich Sep 11, 2024
dec6507
refactor: pruning worker processors (#346)
BEdev24 Sep 11, 2024
fcd49aa
fix: latest updates content overlaping
Vojimirovich Sep 12, 2024
d1f5065
refactor: ipfs service path and minor refactoring
BEdev24 Sep 12, 2024
cfb7444
fix: usersnap remove other buttons (#323)
kubet Sep 12, 2024
12802df
fix: Overlapping on tables
Vojimirovich Sep 12, 2024
3e50ee0
Merge branch 'develop' of github.com-Vojimirovich:IntersectMBO/cc-por…
Vojimirovich Sep 12, 2024
50e3627
fix: don't show top banner on mainnet
Vojimirovich Sep 12, 2024
e06ccce
fix: show more btn not loading more content, update env example
Vojimirovich Sep 12, 2024
12568b9
refactor: renamed migration name for gap len constraint removal
BEdev24 Sep 13, 2024
90505b9
refactor: ipfs volume
BEdev24 Sep 13, 2024
f222be0
add correct vars (#352)
BEdev24 Sep 13, 2024
f7d06ba
Merge branch 'staging' into fix/dev-staging-conflict
BEdev24 Sep 13, 2024
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
1 change: 1 addition & 0 deletions example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REDIS_PASSWORD=password
12 changes: 9 additions & 3 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,17 @@ ENV NEXT_TELEMETRY_DISABLED 1

# Define build arguments for environment variables
ARG NEXT_PUBLIC_API_URL
ARG NEXT_PUBLIC_USERSNAP_GLOBAL_API_KEY
ARG NEXT_PUBLIC_USERSNAP_SPACE_API_KEY
ARG NEXT_PUBLIC_USERSNAP_PROJECT_API_KEY
ARG NEXT_PUBLIC_HIDDEN_USERSNAP_PROJECT_IDS
ARG NEXT_PUBLIC_IS_MAINNET

# Set the environment variables inside the container
ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
ENV NEXT_PUBLIC_USERSNAP_GLOBAL_API_KEY=${NEXT_PUBLIC_USERSNAP_GLOBAL_API_KEY}
ENV NEXT_PUBLIC_USERSNAP_SPACE_API_KEY=${NEXT_PUBLIC_USERSNAP_SPACE_API_KEY}
ENV NEXT_PUBLIC_USERSNAP_PROJECT_API_KEY=${NEXT_PUBLIC_USERSNAP_PROJECT_API_KEY}
ENV NEXT_PUBLIC_HIDDEN_USERSNAP_PROJECT_IDS=${NEXT_PUBLIC_HIDDEN_USERSNAP_PROJECT_IDS}
ENV NEXT_PUBLIC_IS_MAINNET=${NEXT_PUBLIC_IS_MAINNET}

RUN \
if [ -f yarn.lock ]; then yarn run build; \
Expand All @@ -52,8 +56,10 @@ ENV NODE_ENV production
# Disabled telemetry during runtime.
ENV NEXT_TELEMETRY_DISABLED 1
ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
ENV NEXT_PUBLIC_USERSNAP_GLOBAL_API_KEY=${NEXT_PUBLIC_USERSNAP_GLOBAL_API_KEY}
ENV NEXT_PUBLIC_USERSNAP_SPACE_API_KEY=${NEXT_PUBLIC_USERSNAP_SPACE_API_KEY}
ENV NEXT_PUBLIC_USERSNAP_PROJECT_API_KEY=${NEXT_PUBLIC_USERSNAP_PROJECT_API_KEY}
ENV NEXT_PUBLIC_HIDDEN_USERSNAP_PROJECT_IDS=${NEXT_PUBLIC_HIDDEN_USERSNAP_PROJECT_IDS}
ENV NEXT_PUBLIC_IS_MAINNET=${NEXT_PUBLIC_IS_MAINNET}

RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
Expand Down
Loading