airavata-courses/scrapbook

Environment files

Closed this issue · 0 comments

Below are the env files. Add them to the respective folders otherwise the services wont run

  1. Go to each of these services
  2. In the root dir of the folder create a file called .env
  3. Add the contents in the .env file
  • User service
MONGO_URI=mongodb://localhost:27017/scrapbookUserService
  • Session Service
REDIS_PORT=6379
REDIS_HOST=localhost
  • Meta Data Service
MONGO_URI=mongodb://localhost:27017/scrapbookMetadataService
KAFKA_URI=localhost:9092
PORT=12000
DEBUG=True
KAFKA_TOPIC=image
HOST=0.0.0.0
  • Gateway
PORT=8081
DEBUG=True
HOST=localhost

AUTH_SERVICE=http://localhost:5000
USER_SERVICE=http://localhost:3000
SESSION_SERVICE=http://localhost:3500
IMAGE_SERVICE=http://localhost:8080
G_DRIVE_SERVICE=http://localhost:9090
MDE_SERVICE=http://localhost:12000
  • Auth
DEBUG=True
PORT=5000
CLIENT_ID=6383607950-8vfdgb52qqgfrkin3sonc424qamc5mkc.apps.googleusercontent.com
CLIENT_SECRET=3VBr2hLv2ZJ6-jbNHYcXSM0i