first commit
This commit is contained in:
30
docker-compose.local.yml
Normal file
30
docker-compose.local.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
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:
|
||||
Reference in New Issue
Block a user