Skip to content

Commit 4eebaa4

Browse files
committed
類似度サーバを本番にも追加
1 parent 962ded2 commit 4eebaa4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

compose.prod.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ services:
2929
volumes:
3030
- db_data:/var/lib/postgresql/data
3131

32+
similarity_api:
33+
container_name: FastAPI
34+
build: ./simirality
35+
ports:
36+
- "9004:9004"
37+
volumes:
38+
- ./simirality:/simirality
39+
command: uvicorn main:app --reload --host 0.0.0.0 --port 9004
40+
3241
minio:
3342
image: minio/minio:latest
3443
container_name: "minio"

0 commit comments

Comments
 (0)