Reviewed-on: #4 Co-authored-by: pedro-bento <mail@pbento.pt> Co-committed-by: pedro-bento <mail@pbento.pt>
31 lines
792 B
YAML
31 lines
792 B
YAML
services:
|
|
backend:
|
|
build: .
|
|
container_name: clipwright-backend
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- .:/app
|
|
- /app/__pycache__
|
|
- ./output:/app/output
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
build:
|
|
context: ./dashboard
|
|
target: dev
|
|
container_name: clipwright-frontend
|
|
ports:
|
|
- "5175:5173"
|
|
volumes:
|
|
- ./dashboard:/app
|
|
- /app/node_modules
|
|
environment:
|
|
# Optional OpenPanel analytics. Defined (empty) so Vite resolves the
|
|
# %VITE_OPENPANEL_*% placeholders in index.html instead of warning that
|
|
# they're undefined; empty keeps analytics fully inert. See index.html.
|
|
- VITE_OPENPANEL_API_URL=
|
|
- VITE_OPENPANEL_CLIENT_ID=
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- backend
|