From 3eb617625362991a2eee3486433fef0650e5f4ad Mon Sep 17 00:00:00 2001 From: barshathakuri Date: Thu, 1 Aug 2024 16:25:02 +0545 Subject: [PATCH] Add env to docker compose file --- docker-compose-prod.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml index ef4e7094..85db13c2 100644 --- a/docker-compose-prod.yml +++ b/docker-compose-prod.yml @@ -98,6 +98,10 @@ services: APP_GRAPHQL_API_ENDPOINT: ${FRONTEND_APP_GRAPHQL_API_ENDPOINT?error} APP_MAPBOX_ACCESS_TOKEN: ${FRONTEND_APP_MAPBOX_ACCESS_TOKEN?error} APP_GRAPHQL_CODEGEN_ENDPOINT: ${FRONTEND_APP_GRAPHQL_CODEGEN_ENDPOINT?error} + APP_GOOGLE_ANALYTICS_ID: ${FRONTEND_APP_GOOGLE_ANALYTICS_ID?error} + env_file: + - .env + # TODO: Due to patch, we need yarn install for now. Try to resolve this in Dockerfile for builder command: | sh -c 'pnpm generate && pnpm build && rm -rf /client-build/* ; cp -r build/* /client-build/' volumes: