clipwright/docker-compose.yml
pedro-bento 1dec0dd1af
All checks were successful
CI / backend-tests (push) Successful in 28s
CI / frontend-build (push) Successful in 20s
chore/dead-code-removal (#4)
Reviewed-on: #4
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-04 22:11:11 +01:00

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