Skip to content

Commit

Permalink
Update Dockerfile.database
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk authored Aug 4, 2024
1 parent 5c23288 commit 72e32b5
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions Dockerfile.database
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ FROM base AS builder
ARG USE_NPM_CN_MIRROR

ENV KEY_VAULTS_SECRET="use-for-build" \
NEXT_PUBLIC_SERVICE_MODE="server" \
DATABASE_DRIVER="node" \
DATABASE_URL="postgres://postgres:password@localhost:5432/postgres"
NEXT_PUBLIC_SERVICE_MODE="server" \
DATABASE_DRIVER="node" \
DATABASE_URL="postgres://postgres:password@localhost:5432/postgres" \
NEXT_PUBLIC_S3_DOMAIN="https://s3-for-5chat.mystudies.net" \
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="pk_live_Y2xlcmsubXI1YWkuY29tJA"

# Clerk
ENV CLERK_WEBHOOK_SECRET="use-for-build" \
CLERK_SECRET_KEY="use-for-build"

# Sentry
ENV NEXT_PUBLIC_SENTRY_DSN="" \
Expand Down Expand Up @@ -99,19 +105,22 @@ ENV API_KEY_SELECT_MODE="" \

# Database
ENV KEY_VAULTS_SECRET="" \
DATABASE_DRIVER="node" \
DATABASE_URL=""
DATABASE_DRIVER="node" \
DATABASE_URL=""

# Next Auth
ENV NEXT_AUTH_SECRET="" \
ACCESS_CODE="" \
NEXTAUTH_URL="" \
NEXT_AUTH_SSO_PROVIDERS=""
ACCESS_CODE="" \
NEXTAUTH_URL="" \
NEXT_AUTH_SSO_PROVIDERS=""

# Clerk
ENV CLERK_WEBHOOK_SECRET="" \
CLERK_SECRET_KEY=""

# S3
ENV S3_ACCESS_KEY_ID="" \
S3_SECRET_ACCESS_KEY="" \
NEXT_PUBLIC_S3_DOMAIN="" \
S3_ENDPOINT="" \
S3_BUCKET=""

Expand Down

0 comments on commit 72e32b5

Please sign in to comment.