Updated docker file
This commit is contained in:
@@ -12,6 +12,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- '9511:80'
|
- '9511:80'
|
||||||
|
|
||||||
|
|
||||||
backend_office_prod:
|
backend_office_prod:
|
||||||
restart: always
|
restart: always
|
||||||
build:
|
build:
|
||||||
@@ -22,15 +23,6 @@ services:
|
|||||||
command: 'python3 app.py --host 0.0.0.0'
|
command: 'python3 app.py --host 0.0.0.0'
|
||||||
|
|
||||||
|
|
||||||
print_service_prod:
|
|
||||||
restart: on-failure
|
|
||||||
build:
|
|
||||||
context: ../eamco_print_service
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
|
||||||
- '8000:9512'
|
|
||||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
|
||||||
|
|
||||||
|
|
||||||
money_service_prod:
|
money_service_prod:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
@@ -42,6 +34,16 @@ services:
|
|||||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8001'
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8001'
|
||||||
|
|
||||||
|
|
||||||
|
auto_service_prod:
|
||||||
|
restart: on-failure
|
||||||
|
build:
|
||||||
|
context: ../eamco_auto_service
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
ports:
|
||||||
|
- '9514:8001'
|
||||||
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8001'
|
||||||
|
|
||||||
|
|
||||||
frontend_driver_prod:
|
frontend_driver_prod:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
|
|
||||||
name: eamco
|
name: eamco
|
||||||
@@ -19,62 +18,49 @@ services:
|
|||||||
frontend_office_dev:
|
frontend_office_dev:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
build:
|
build:
|
||||||
context: ../eamco_frontend
|
context: ../eamco_office_frontend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- ../eamco_frontend:/app
|
- ../eamco_office_frontend:/app
|
||||||
ports:
|
ports:
|
||||||
- '9511:5173'
|
- '9511:5173'
|
||||||
command: 'vite dev --host --port 5173'
|
command: 'vite dev --host --port 5173'
|
||||||
|
|
||||||
|
|
||||||
# frontend_driver_dev:
|
frontend_driver_dev:
|
||||||
# restart: on-failure
|
restart: on-failure
|
||||||
# build:
|
build:
|
||||||
# context: ../eamco_driver_frontend
|
context: ../eamco_driver_frontend
|
||||||
# dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
# volumes:
|
volumes:
|
||||||
# - ../eamco_driver_frontend:/app
|
- ../eamco_driver_frontend:/app
|
||||||
# ports:
|
ports:
|
||||||
# - '9000:9000'
|
- '9000:9000'
|
||||||
# command: 'quasar dev'
|
command: 'quasar dev'
|
||||||
|
|
||||||
|
|
||||||
# print_service_dev:
|
money_dev:
|
||||||
# restart: on-failure
|
restart: on-failure
|
||||||
# build:
|
build:
|
||||||
# context: ../eamco_print_service
|
context: ../eamco_money_api
|
||||||
# dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
# volumes:
|
volumes:
|
||||||
# - ../eamco_print_service:/app
|
- ../eamco_money_api:/app
|
||||||
# - ../eamco_print_service/tickets:/app/tickets
|
ports:
|
||||||
# ports:
|
- '9513:8000'
|
||||||
# - '9512:8000'
|
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
# command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
|
||||||
|
|
||||||
|
|
||||||
# money_service_dev:
|
auto_dev:
|
||||||
# restart: on-failure
|
restart: on-failure
|
||||||
# build:
|
build:
|
||||||
# context: ../eamco_money_service
|
context: ../eamco_auto_api
|
||||||
# dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
# volumes:
|
volumes:
|
||||||
# - ../eamco_money_service:/app
|
- ../eamco_auto_api:/app
|
||||||
# ports:
|
ports:
|
||||||
# - '9513:8000'
|
- '9514:8000'
|
||||||
# command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8001'
|
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|
||||||
|
|
||||||
# auto_dev:
|
|
||||||
# restart: on-failure
|
|
||||||
# build:
|
|
||||||
# context: ../eamco_auto_api
|
|
||||||
# dockerfile: Dockerfile
|
|
||||||
# volumes:
|
|
||||||
# - ../eamco_auto_api:/app
|
|
||||||
# ports:
|
|
||||||
# - '9514:8002'
|
|
||||||
# command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8002'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,6 @@ version: '3.8'
|
|||||||
name: eamco
|
name: eamco
|
||||||
services:
|
services:
|
||||||
|
|
||||||
frontend_office_prod:
|
|
||||||
restart: on-failure
|
|
||||||
image: anekdotin/eamco-frontend_office_prod:latest
|
|
||||||
ports:
|
|
||||||
- '9511:80'
|
|
||||||
|
|
||||||
|
|
||||||
backend_office_prod:
|
backend_office_prod:
|
||||||
restart: always
|
restart: always
|
||||||
@@ -19,19 +13,19 @@ services:
|
|||||||
command: 'python3 app.py --host 0.0.0.0'
|
command: 'python3 app.py --host 0.0.0.0'
|
||||||
|
|
||||||
|
|
||||||
print_service_prod:
|
|
||||||
|
frontend_office_prod:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
image: anekdotin/eamco-print_service_prod:latest
|
image: anekdotin/eamco-frontend_office_prod:latest
|
||||||
ports:
|
ports:
|
||||||
- '9512:8000'
|
- '9511:80'
|
||||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
|
||||||
|
|
||||||
|
|
||||||
money_service_prod:
|
auto_service_prod:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
image: anekdotin/eamco-money_service_prod:latest
|
image: anekdotin/eamco-money_service_prod:latest
|
||||||
ports:
|
ports:
|
||||||
- '9513:8001'
|
- '9514:8001'
|
||||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8001'
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8001'
|
||||||
|
|
||||||
|
|
||||||
@@ -42,3 +36,10 @@ services:
|
|||||||
- '9000:9000'
|
- '9000:9000'
|
||||||
|
|
||||||
|
|
||||||
|
money_service_prod:
|
||||||
|
restart: on-failure
|
||||||
|
image: anekdotin/eamco-money_service_prod:latest
|
||||||
|
ports:
|
||||||
|
- '9513:8000'
|
||||||
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user