dcd018 commited on
Commit
9f19ef1
·
1 Parent(s): 0fda40a

Initial commit.

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. docker-compose.yaml +1 -1
  3. start +2 -2
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: yellow
5
  colorTo: blue
6
  sdk: docker
7
  pinned: false
8
- app_port: 80
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
5
  colorTo: blue
6
  sdk: docker
7
  pinned: false
8
+ app_port: 8080
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
docker-compose.yaml CHANGED
@@ -37,7 +37,7 @@ services:
37
  - .:/home/appuser/app
38
  - ./.torch/fvcore_cache:/tmp:rw
39
  ports:
40
- - "8000:80"
41
  hostname: langchain.local
42
  networks:
43
  kind:
 
37
  - .:/home/appuser/app
38
  - ./.torch/fvcore_cache:/tmp:rw
39
  ports:
40
+ - "8000:8080"
41
  hostname: langchain.local
42
  networks:
43
  kind:
start CHANGED
@@ -3,7 +3,7 @@
3
  alembic upgrade head
4
 
5
  if [ "$PYTHON_ENV" == "development" ]; then
6
- uvicorn app.main:app --host 0.0.0.0 --port 80 --reload
7
  else
8
- uvicorn app.main:app --host 0.0.0.0 --port 80
9
  fi
 
3
  alembic upgrade head
4
 
5
  if [ "$PYTHON_ENV" == "development" ]; then
6
+ uvicorn app.main:app --host 0.0.0.0 --port 8080 --reload
7
  else
8
+ uvicorn app.main:app --host 0.0.0.0 --port 8080
9
  fi