Initial commit
This commit is contained in:
+79
@@ -0,0 +1,79 @@
|
||||
# Authentication
|
||||
auth:
|
||||
secret_key: '09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7'
|
||||
algorithm: 'HS256'
|
||||
access_token_expire_minutes: 43201
|
||||
refresh_token_expire_minutes: 43200
|
||||
url: 'https://auth.hacoupian.net/v2/auth/validate-token'
|
||||
cache_prefix_key: 'auth_key_'
|
||||
cache_ttl: 360
|
||||
|
||||
# Server
|
||||
server:
|
||||
base_api_doc_url: ''
|
||||
is_prod: false
|
||||
prefix_url: '/v1'
|
||||
api_logo: 'https://esperlos.ir/storage/2022/07/926f6aaba773.png'
|
||||
port: 8001
|
||||
|
||||
|
||||
static_files:
|
||||
storage: 'storage'
|
||||
|
||||
cors:
|
||||
origins:
|
||||
- 'http://192.168.15.228:85'
|
||||
- 'http://192.168.15.227'
|
||||
- 'http://192.168.15.77:3300'
|
||||
- 'http://localhost'
|
||||
- 'http://localhost:3100'
|
||||
- 'http://ygram.rooyart.ir'
|
||||
- 'https://ygram.rooyart.ir'
|
||||
|
||||
|
||||
# Modules
|
||||
dependency:
|
||||
middleware: [ 'core' ]
|
||||
routes: [ 'core','auth', 'app','upload' ]
|
||||
|
||||
|
||||
celery:
|
||||
broker: 'redis://127.0.0.1:6379/0'
|
||||
backend: 'redis://127.0.0.1:6379/0'
|
||||
autodiscover_tasks: [ ]
|
||||
|
||||
|
||||
# MongoDB Connection
|
||||
database:
|
||||
mongo:
|
||||
dev:
|
||||
url: 'mongodb://localhost:27017'
|
||||
# url: 'mongodb://omde_user:b3a91bd801bc3003f97d266ae6b6018b@193.151.137.67:27170'
|
||||
db: 'sakhteman'
|
||||
production:
|
||||
url: 'mongodb://localhost:27017'
|
||||
# url: 'mongodb://omde_user:b3a91bd801bc3003f97d266ae6b6018b@193.151.137.67:27170'
|
||||
db: 'sakhteman'
|
||||
|
||||
mongo_auth:
|
||||
dev:
|
||||
url: 'mongodb://127.0.0.1:27017'
|
||||
db: 'omde'
|
||||
production:
|
||||
url: 'mongodb://127.0.0.1:27017'
|
||||
db: 'omde'
|
||||
|
||||
limiter_redis:
|
||||
url: 'redis://192.168.15.76:6379'
|
||||
db: ''
|
||||
|
||||
auth_redis:
|
||||
url: 'redis://192.168.15.231:6379'
|
||||
db: '1'
|
||||
|
||||
neo4j:
|
||||
url: 'neo4j+s://scm.neo4jlabs.com'
|
||||
db: 'auth'
|
||||
version: 4
|
||||
password: 'sample'
|
||||
user: 'local'
|
||||
Reference in New Issue
Block a user