Updated docker for new api
This commit is contained in:
@@ -77,3 +77,15 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- '9516:8000'
|
- '9516:8000'
|
||||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|
||||||
|
|
||||||
|
voipms_dev:
|
||||||
|
restart: on-failure
|
||||||
|
build:
|
||||||
|
context: ../eamco_voipms
|
||||||
|
dockerfile: Dockerfile.dev
|
||||||
|
volumes:
|
||||||
|
- ../eamco_voipms:/app
|
||||||
|
ports:
|
||||||
|
- '9517:8000'
|
||||||
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|||||||
@@ -40,4 +40,29 @@ services:
|
|||||||
dockerfile: Dockerfile.prod
|
dockerfile: Dockerfile.prod
|
||||||
ports:
|
ports:
|
||||||
- '9514:8000'
|
- '9514:8000'
|
||||||
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'
|
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# authorize_prod:
|
||||||
|
# restart: on-failure
|
||||||
|
# build:
|
||||||
|
# context: ../eamco_authorize
|
||||||
|
# dockerfile: Dockerfile.prod
|
||||||
|
# volumes:
|
||||||
|
# - ../eamco_authorize:/app
|
||||||
|
# ports:
|
||||||
|
# - '9516:8000'
|
||||||
|
# command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|
||||||
|
|
||||||
|
# voipms_prod:
|
||||||
|
# restart: on-failure
|
||||||
|
# build:
|
||||||
|
# context: ../eamco_voipms
|
||||||
|
# dockerfile: Dockerfile.prod
|
||||||
|
# volumes:
|
||||||
|
# - ../eamco_voipms:/app
|
||||||
|
# ports:
|
||||||
|
# - '9517:8000'
|
||||||
|
# command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|||||||
Reference in New Issue
Block a user