Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyaaa committed Jan 15, 2024
1 parent 7009abe commit 1a1ee9a
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 243 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
- '8000:8000'
environment:
PORT: ${PORT:-8000}
SECRET_KEY: ${SECRET_KEY:-test_key}
volumes:
- ./passport/:/usr/src/app/
depends_on:
Expand Down
4 changes: 2 additions & 2 deletions passport/passport/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.getenv('SECRET_KEY', 'test')
SECRET_KEY = os.getenv('SECRET_KEY')

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv('DEBUG', 'False')
DEBUG = False

ALLOWED_HOSTS = [os.getenv('ALLOWED_HOSTS', '127.0.0.1')]
CSRF_TRUSTED_ORIGINS = [
Expand Down
Loading

0 comments on commit 1a1ee9a

Please sign in to comment.