Skip to content

Commit

Permalink
statistics6 & front 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GaeunB committed Aug 22, 2023
1 parent 77ade9c commit b2de677
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .envexample
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#Nestjs
NESTJS_ENDPOINT=backend
NESTJS_PORT=3000
VITE_NESTJS_ENDPOINT=localhost
#or VITE_NESTJS_ENDPOINT= backend
VITE_NESTJS_PORT=3000

#Postgresql
DB_HOST=localhost
# localhost is for nest js npm run start:dev
# postgres is for docker container
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=0927
DB_DATABASE=postgres

ACCESS_TOKEN_EXPIRATION=60s
JWT_SECRET_KEY=secretKey

#minio
MINIO_ENDPOINT=192.168.100.5
MINIO_PORT=9010
MINIO_ADDRESS=192.168.100.5:9010
MINIO_USE_SSL=false
MINIO_IMAGE_BUCKET=baseimages
MINIO_QUERY_BUCKET=xsearchimgs
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=xsearchdbs
MINIO_ACCESS_KEY=user
MINIO_SECRET_KEY=q1w2e3r4

#milvus
MILVUS_HOST=192.168.100.5
MILVUS_PORT=19530

#flask
FLASK_HOST=0.0.0.0
FLASK_PORT=5000

#server
SERVER_ADDRESS=192.168.100.5
34 changes: 34 additions & 0 deletions backend/.envexample
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
DB_HOST=localhost
# localhost is for nest js npm run start:dev
# postgres is for docker container
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=0927
DB_DATABASE=postgres

ACCESS_TOKEN_EXPIRATION=60s
JWT_SECRET_KEY=secretKey

flaskHOST= 127.0.0.1
flaskPORT= 5000
milvusHOST= 127.0.0.1
milvusPORT= 19530

server = 192.168.1000.5

MINIO_ENDPOINT='localhost'
MINIO_PORT=9000

MINIO_ACCESS_KEY=admin
MINIO_SECRET_KEY=sodeimmcd
MINIO_USE_SSL=false
MINIO_BUCKET_NAME=xsearchimgs
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=sodeimmcd


MILVUS_COLLECTION_NAME=
MILVUS_HOST=
MILVUS_PORT=

MILVUS_API_URL= http://127.0.0.1:5000/search

0 comments on commit b2de677

Please sign in to comment.