Refactoring
This commit is contained in:
16
deploy/.env.docker
Normal file
16
deploy/.env.docker
Normal file
@@ -0,0 +1,16 @@
|
||||
SERVER_ADDR=:443
|
||||
|
||||
APP_NAME=identity-svc
|
||||
APP_DOMAIN=identity.service.ego.io
|
||||
|
||||
API_DATABASE_URL=postgres://postgres:12345678@db-postgres:5432/egommerce
|
||||
API_CACHE_ADDR=api-cache:6379
|
||||
API_CACHE_USERNAME=default
|
||||
API_CACHE_PASSWORD=12345678
|
||||
API_MONGODB_URL=mongodb://mongodb:12345678@db-mongo:27017
|
||||
|
||||
JWT_ACCESS_TOKEN_SECRET_KEY=SomeFancySecretAndRandomString
|
||||
JWT_ACCESS_TOKEN_EXPIRE_TIME=1 # hours
|
||||
|
||||
JWT_REFRESH_TOKEN_SECRET_KEY=SomeFancySecretAndRandomStringAgain
|
||||
JWT_REFRESH_TOKEN_EXPIRE_TIME=7 # days
|
||||
Reference in New Issue
Block a user