Skip to content

Commit

Permalink
S3 settings config
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed May 25, 2022
1 parent bf7ca55 commit a605432
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,18 @@
)


# Object storage : Scaleway (S3-like)
# ------------------------------------------------------------------------------

S3_ENDPOINT = os.getenv("S3_ENDPOINT")
S3_BUCKET_NAME = os.getenv("S3_BUCKET_NAME")
S3_ACCESS_KEY = os.getenv("S3_ACCESS_KEY")
S3_SECRET_KEY = os.getenv("S3_SECRET_KEY")

QUESTION_FOLDER_NAME = "questions"
QUIZ_FOLDER_NAME = "quizs"


# Django Bootstrap5
# https://django-bootstrap5.readthedocs.io/
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit a605432

Please sign in to comment.