./build.sh
docker compose down
export DEP_MODE=production
export DJANGO_SECRET_KEY=...
# DATABASE
export POSTGRES_DB=django
export POSTGRES_USER=django
export POSTGRES_PASSWORD=django
export POSTGRES_HOST=postgresql
export POSTGRES_PORT=5432
# REDIS
export REDIS_HOST=redis
export REDIS_PORT=6379
# OAUTH
# 42 OAUTH
export OAUTH_CLIENT_UID=...
export OAUTH_CLIENT_SECRET=...
export OAUTH_TOKEN_URL=https://api.intra.42.fr/oauth/token/
export API_USER_INFOS_URL=https://api.intra.42.fr/v2/me/
export EMAIL_HOST='smtp.gmail.com'
export EMAIL_HOST_USER='[email protected]'
export EMAIL_FROM='[email protected]'
export EMAIL_HOST_PASSWORD='wanh xhid guvr cgik'
# twilio
export TWILIO_ACCOUNT_SID=...
export TWILIO_AUTH_TOKEN=...
export TWILIO_VERIFY_SID=...
export VITE_42_OAUTH_CLIENT_UID=...
export VITE_42_OAUTH_CLIENT_SECRET=...
tmarie | mlaval | ermolina | gmallet |