91 lines
1.9 KiB
YAML
Executable File
91 lines
1.9 KiB
YAML
Executable File
version: '3.8'
|
|
|
|
volumes:
|
|
eamco_cache:
|
|
|
|
name: eamco
|
|
services:
|
|
|
|
backend_office:
|
|
container_name: eamco-backend-api-dev
|
|
restart: always
|
|
build:
|
|
context: ../eamco_office_api
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ../eamco_office_api:/app
|
|
ports:
|
|
- '4056:4056'
|
|
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
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ../eamco_frontend:/app
|
|
ports:
|
|
- '5173:5173'
|
|
command: 'vite dev --host --port 5173'
|
|
|
|
|
|
frontend_driver:
|
|
container_name: eamco-frontend-driver-dev
|
|
restart: on-failure
|
|
build:
|
|
context: ../eamco_driver_frontend
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ../eamco_driver_frontend:/app
|
|
ports:
|
|
- '9000:9000'
|
|
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'
|
|
|
|
|
|
|
|
|