Skip to content

Commit

Permalink
example .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
sasalatart committed Sep 15, 2024
1 parent 32937b0 commit 73c9e44
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .env.quizory.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DB_URL=postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable
LLM_OPENAI_KEY=test
SERVER_JWT_SECRET=test
GF_SECURITY_ADMIN_PASSWORD=admin
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
cache-dependency-path: client/pnpm-lock.yaml

- name: Spin up docker-compose
run: docker compose -f infra/docker/docker-compose.dev.yml up
run: |
cp .env.quizory.example .env.quizory
docker compose -f infra/docker/docker-compose.dev.yml up
- name: Wait for service to be healthy
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# Secrets
.env
.env.*
!.env.quizory.example

# Test coverage artifacts
coverage.out
Expand Down

0 comments on commit 73c9e44

Please sign in to comment.