Skip to content

Commit

Permalink
FIX .env(s) + e2e testing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyShuii committed Aug 21, 2024
1 parent 8c57269 commit 8471fda
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
JWT_SECRET_KEY=mykey
1 change: 0 additions & 1 deletion backend/.env.example

This file was deleted.

2 changes: 1 addition & 1 deletion docker-compose.e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
backend:
build: ./backend
env_file:
- ./backend/.env
- ./.env
healthcheck:
test: 'curl --fail --request POST --header ''content-type: application/json'' --url ''http://localhost:4000/graphql'' --data ''{"query":"query { __typename }"}'' || exit 1'
interval: 1s
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
volumes:
- ./backend/src:/app/src
env_file:
- ./backend/.env
- ./.env
healthcheck:
test: 'curl --fail --request POST --header ''content-type: application/json'' --url ''http://localhost:4000/graphql'' --data ''{"query":"query { __typename }"}'' || exit 1'
interval: 1s
Expand Down

0 comments on commit 8471fda

Please sign in to comment.