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(client): pass disable collections flag to container env #290

Merged
merged 1 commit into from
Jul 5, 2024
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
2 changes: 2 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ARG PUBLIC_ENVIRONMENT
ARG ASTRO_ADAPTER
ARG PUBLIC_POSTHOG_API_KEY
ARG PUBLIC_POSTHOG_HOST
ARG PUBLIC_DISABLE_COLLECTIONS

ENV PUBLIC_HOST_URL=$PUBLIC_HOST_URL
ENV PUBLIC_API_URL=$PUBLIC_API_URL
Expand All @@ -16,6 +17,7 @@ ENV PUBLIC_ENVIRONMENT=$PUBLIC_ENVIRONMENT
ENV ASTRO_ADAPTER=$ASTRO_ADAPTER
ENV PUBLIC_POSTHOG_API_KEY=$PUBLIC_POSTHOG_API_KEY
ENV PUBLIC_POSTHOG_HOST=$PUBLIC_POSTHOG_HOST
ENV PUBLIC_DISABLE_COLLECTIONS=$PUBLIC_DISABLE_COLLECTIONS

COPY package*.json ./

Expand Down
1 change: 1 addition & 0 deletions client/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
- ASTRO_ADAPTER=${ASTRO_ADAPTER}
- PUBLIC_POSTHOG_API_KEY=${PUBLIC_POSTHOG_API_KEY}
- PUBLIC_POSTHOG_HOST=${PUBLIC_POSTHOG_HOST}
- PUBLIC_DISABLE_COLLECTIONS=${PUBLIC_DISABLE_COLLECTIONS}
ports:
- '4321:4321'
networks:
Expand Down