diff --git a/.env b/.env index 50ba97eb8..aad133c7f 100644 --- a/.env +++ b/.env @@ -1,3 +1,4 @@ REACT_APP_BACKEND_URL=https://localhost:5001/api REACT_APP_TEMPVAL=tempval -API_URL=https://best.api.ever.com \ No newline at end of file +API_URL=https://best.api.ever.com +REACT_APP_GOOGLE_ANALYTICS=tempval diff --git a/docker-compose.yml b/docker-compose.yml index ac60fd1cb..0519a8d42 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ services: - ./templates:/etc/nginx/templates - /etc/certbot/www:/var/www/certbot/:ro - /etc/certbot/conf:/etc/nginx/ssl/:ro + frontend: image: streetcodeua/streetcode_client:${DOCKER_TAG_FRONTEND} pull_policy: always @@ -29,7 +30,8 @@ services: retries: 5 environment: API_URL: ${ENV_API_BACKEND} - + REACT_APP_GOOGLE_ANALYTICS: ${ENV_GOOGLE_ANALYTICS} + backend: image: streetcodeua/streetcode:${DOCKER_TAG_BACKEND} pull_policy: always @@ -65,4 +67,4 @@ networks: name: backend frontend: external: - name: frontend \ No newline at end of file + name: frontend diff --git a/public/index.html b/public/index.html index c7f57dd20..4f76de710 100644 --- a/public/index.html +++ b/public/index.html @@ -53,7 +53,7 @@
-