feat: add .env file for secrets and update docker-compose to use new environment variables

This commit is contained in:
2025-12-08 16:20:16 +05:30
parent 093af3a36f
commit f7a6753a46
2 changed files with 11 additions and 0 deletions

View File

@@ -8,6 +8,11 @@ services:
environment:
- mongoURI=mongodb://mongo:27017/appointment_to_examiner
- CORS_ORIGIN=http://localhost:10091
- JWT_SECRET=${JWT_SECRET}
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
- GOOGLE_REFRESH_TOKEN=${GOOGLE_REFRESH_TOKEN}
- EMAIL_USERNAME=${EMAIL_USERNAME}
depends_on:
- mongo
networks: