Skip to content

Commit

Permalink
docker compose update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachid F committed Dec 20, 2023
1 parent 0e556a8 commit ef05bad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ services:
DISTRIBUTION: ${DISTRIBUTION}
JWT_SECRET: ${JWT_SECRET}
REDIS_HOST: redis
ENCRYPT_CRYPTO_SECRET_KEY: ${ENCRYPT_CRYPTO_SECRET_KEY}
HUBSPOT_CLIENT_ID: ${HUBSPOT_CLIENT_ID}
HUBSPOT_CLIENT_SECRET: ${HUBSPOT_CLIENT_SECRET}
ZOHOCRM_CLIENT_ID: ${ZOHOCRM_CLIENT_ID}
Expand All @@ -43,6 +44,7 @@ services:
PIPEDRIVE_CLIENT_SECRET: ${PIPEDRIVE_CLIENT_SECRET}
ZENDESK_CLIENT_ID: ${ZENDESK_CLIENT_ID}
ZENDESK_CLIENT_SECRET: ${ZENDESK_CLIENT_SECRET}
OAUTH_REDIRECT_BASE: ${OAUTH_REDIRECT_BASE}


restart:
Expand Down
12 changes: 0 additions & 12 deletions packages/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@ WORKDIR /app

COPY --from=installer ./app .



ENV HUBSPOT_CLIENT_ID="$HUBSPOT_CLIENT_ID"
ENV HUBSPOT_CLIENT_SECRET="$HUBSPOT_CLIENT_SECRET"
ENV ZOHOCRM_CLIENT_ID="$ZOHOCRM_CLIENT_ID"
ENV ZOHOCRM_CLIENT_SECRET="$ZOHOCRM_CLIENT_SECRET"
ENV PIPEDRIVE_CLIENT_ID="$PIPEDRIVE_CLIENT_ID"
ENV PIPEDRIVE_CLIENT_SECRET="$PIPEDRIVE_CLIENT_SECRET"
ENV ZENDESK_CLIENT_ID="$ZENDESK_CLIENT_ID"
ENV ZENDESK_CLIENT_SECRET="$ZENDESK_CLIENT_SECRET"
ENV OAUTH_REDIRECT_BASE="$OAUTH_REDIRECT_BASE"

# Launching the backend
# Maintain the root api folder as context (Breaking)
CMD cd /app/packages/api && node dist/src/main.js

0 comments on commit ef05bad

Please sign in to comment.