Skip to content

Commit

Permalink
chore: try remove usage of env file in branch environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jycssu-com committed Jun 12, 2024
1 parent ab4e3d2 commit 6d1926c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docker-compose-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@ 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:
- 'traefik.enable=true'
- '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:
Expand Down

0 comments on commit 6d1926c

Please sign in to comment.