From 6d1926c5be79206b9e7a268b5427ccac64988fef Mon Sep 17 00:00:00 2001 From: Jycssu Date: Wed, 12 Jun 2024 13:46:08 +0200 Subject: [PATCH] chore: try remove usage of env file in branch environment --- docker-compose-branch.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker-compose-branch.yml b/docker-compose-branch.yml index a2e9c84..b29c869 100644 --- a/docker-compose-branch.yml +++ b/docker-compose-branch.yml @@ -2,10 +2,9 @@ services: app: image: ${DOCKER_REGISTRY}/dashboard:${DOCKER_BRANCH} container_name: ${DOCKER_BRANCH}-dashboard - env_file: - - .env environment: - NEXT_PUBLIC_THEGRAPH_API_KEY=$NEXT_PUBLIC_THEGRAPH_API_KEY + - COMMUNITY_API_KEY=$COMMUNITY_API_KEY networks: - traefik-realt labels: @@ -13,8 +12,6 @@ services: - 'traefik.http.routers.dashboard-${DOCKER_BRANCH}.rule=Host(`dashboard.${DOCKER_BRANCH}.realt.community`)' - 'traefik.http.routers.dashboard-${DOCKER_BRANCH}.entrypoints=websecure' - 'traefik.http.services.dashboard-${DOCKER_BRANCH}.loadbalancer.server.port=3000' - volumes: - - /var/docker/dashboard-v2/${DOCKER_BRANCH}/.env:/app/.env restart: always networks: