Skip to content

Commit

Permalink
Move secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
TawneeOwl committed Aug 27, 2024
1 parent 2fcd5ad commit e448f44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ services:
ports:
- "8027:8027"
environment:
SECRET_KEY: "TEST_KEY"
<<: *database_config
volumes:
- ./app:/home/app/case_api/app
Expand Down
5 changes: 0 additions & 5 deletions run_local.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/bin/bash

if [ -z ${SECRET_KEY} ]; then
echo "SECRET_KEY is unset."
exit 1
fi

docker compose down --remove-orphans
docker compose up -d --build
docker compose wait migrations
Expand Down

0 comments on commit e448f44

Please sign in to comment.