first commit
This commit is contained in:
18
fast_api/docker-compose.yml
Normal file
18
fast_api/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: '2.1'
|
||||
services:
|
||||
api:
|
||||
# depends_on:
|
||||
# mysql:
|
||||
# condition: service_healthy
|
||||
container_name: metaverse_medical_rest
|
||||
image: metaverse/medical_rest:latest
|
||||
build:
|
||||
context: .
|
||||
environment:
|
||||
- TZ=Asia/Seoul
|
||||
volumes:
|
||||
- ./fast_api:/FAST_API
|
||||
ports:
|
||||
- 50510-50512:50510-50512
|
||||
command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "50510"] #local
|
||||
# command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "50532"] #my
|
||||
Reference in New Issue
Block a user