Skip to content

Commit

Permalink
reverse docker changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTraveylan committed Aug 9, 2024
1 parent b9f34cb commit 0fffd86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copier le contenu du répertoire courant dans le répertoire de travail
COPY . .

# Lancer les migrations
RUN python manage.py migrate

# Exposer le port utilisé par l'app Django
EXPOSE 8000

Expand Down
7 changes: 2 additions & 5 deletions TaskEqualizer/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,7 @@
MY_EMAIL = os.getenv("MY_EMAIL")
DOMAIN_EMAIL = os.getenv("DOMAIN_EMAIL")
CONFIRMATION_URL = f"{HOST}/confirm"
if CLIENT_HOST is not None:
REGISTER_WITH_CODE_URL = CLIENT_HOST + "/auth-page/register-with-invitation"
REGISTER_WITH_CODE_URL = CLIENT_HOST + "/auth-page/register-with-invitation"

# Sécurity
AES_KEY_BASE64 = os.getenv("AES_KEY")
if AES_KEY_BASE64 is not None:
AES_KEY = base64.b64decode(os.getenv("AES_KEY"))
AES_KEY = base64.b64decode(os.getenv("AES_KEY"))

0 comments on commit 0fffd86

Please sign in to comment.