40 lines
709 B
YAML
Executable File
40 lines
709 B
YAML
Executable File
|
|
|
|
name: customer_gateway
|
|
services:
|
|
|
|
api_dev:
|
|
restart: always
|
|
tty: true
|
|
stdin_open: true
|
|
build:
|
|
context: ../api
|
|
dockerfile: Dockerfile.dev
|
|
volumes:
|
|
- ../api:/app
|
|
- images:/images
|
|
ports:
|
|
- '8000:8000'
|
|
env_file:
|
|
- ../api/.env.dev
|
|
environment:
|
|
- MODE=DEVELOPMENT
|
|
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'
|
|
|
|
|
|
frontend_dev:
|
|
restart: on-failure
|
|
tty: true
|
|
stdin_open: true
|
|
build:
|
|
context: ../frontend
|
|
dockerfile: Dockerfile.dev
|
|
volumes:
|
|
- ../frontend:/app
|
|
ports:
|
|
- '5173:5173'
|
|
command: 'vite dev --host --port 5173'
|
|
|
|
volumes:
|
|
images:
|