Updated docker
This commit is contained in:
@@ -7,7 +7,7 @@ name: eamco
|
||||
services:
|
||||
|
||||
backend_office:
|
||||
container_name: eamco-backend-office-dev
|
||||
container_name: eamco-backend-api-dev
|
||||
restart: always
|
||||
build:
|
||||
context: ../eamco_office_api
|
||||
@@ -19,21 +19,9 @@ services:
|
||||
command: 'python3 app.py --host 0.0.0.0'
|
||||
|
||||
|
||||
auto:
|
||||
container_name: eamco-backend-auto
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../eamco_auto
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ../eamco_auto:/app
|
||||
ports:
|
||||
- '4053:4053'
|
||||
command: 'python3 app.py --host 0.0.0.0'
|
||||
|
||||
|
||||
frontend:
|
||||
container_name: eamco-frontend-dev
|
||||
image: eamco/backend-frontend
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../eamco_frontend
|
||||
@@ -58,3 +46,45 @@ services:
|
||||
command: 'quasar dev'
|
||||
|
||||
|
||||
print_service:
|
||||
container_name: eamco-printer-dev
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../eamco_print_service
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ../eamco_print_service:/app
|
||||
- ../eamco_print_service/tickets:/app/tickets
|
||||
ports:
|
||||
- '8000:8000'
|
||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||
|
||||
|
||||
money_service:
|
||||
container_name: eamco-money-dev
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../eamco_money_service
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ../eamco_money_service:/app
|
||||
ports:
|
||||
- '8001:8000'
|
||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||
|
||||
|
||||
auto:
|
||||
container_name: eamco-auto-dev
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../eamco_auto_api
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ../eamco_auto_api:/app
|
||||
ports:
|
||||
- '8002:8000'
|
||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
0
requirements.txt
Normal file → Executable file
0
requirements.txt
Normal file → Executable file
Reference in New Issue
Block a user