31 lines
527 B
YAML
31 lines
527 B
YAML
|
|
name: customer_gateway
|
|
services:
|
|
|
|
api_local:
|
|
restart: always
|
|
build:
|
|
context: ../api
|
|
dockerfile: Dockerfile.local
|
|
volumes:
|
|
- images:/images
|
|
ports:
|
|
- '8000:8000'
|
|
env_file:
|
|
- ../api/.env.local
|
|
environment:
|
|
- MODE=LOCAL
|
|
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'
|
|
|
|
|
|
frontend_local:
|
|
restart: on-failure
|
|
build:
|
|
context: ../frontend
|
|
dockerfile: Dockerfile.local
|
|
ports:
|
|
- '80:80'
|
|
|
|
volumes:
|
|
images:
|