Skip to content

Commit

Permalink
Build(#8): Add OPENAI_API_KEY environment variable to docker-compose.…
Browse files Browse the repository at this point in the history
…yaml
  • Loading branch information
SverreNystad committed Jan 6, 2024
1 parent 9185adb commit ee2e77d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build docker image and run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
cd backend
docker compose build
Expand Down
1 change: 1 addition & 0 deletions backend/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
- DATABASE_NAME=tutoraidb
- DATABASE_USER=tutoraiuser
- DATABASE_PASSWORD=tutoraipassword
- OPENAI_API_KEY=${OPENAI_API_KEY}

db:
image: postgres:13
Expand Down

0 comments on commit ee2e77d

Please sign in to comment.