29 lines
558 B
YAML
29 lines
558 B
YAML
|
|
|
||
|
|
services:
|
||
|
|
|
||
|
|
web:
|
||
|
|
build:
|
||
|
|
context: ../..
|
||
|
|
dockerfile: compose/dev/node/Dockerfile
|
||
|
|
environment:
|
||
|
|
NODE_ENV: development
|
||
|
|
ports:
|
||
|
|
- "0.0.0.0:5173:5173"
|
||
|
|
volumes:
|
||
|
|
- ../../src:/app/src
|
||
|
|
- ../../index.html:/app/index.html
|
||
|
|
- ../../vite.config.ts:/app/vite.config.ts
|
||
|
|
- ../../tsconfig.json:/app/tsconfig.json
|
||
|
|
|
||
|
|
api:
|
||
|
|
build:
|
||
|
|
context: ../..
|
||
|
|
dockerfile: compose/dev/python/Dockerfile
|
||
|
|
ports:
|
||
|
|
- "0.0.0.0:8000:8000"
|
||
|
|
volumes:
|
||
|
|
- ../../:/app:cached
|
||
|
|
- ../../build:/app/build
|
||
|
|
|
||
|
|
|