27 lines
823 B
YAML
27 lines
823 B
YAML
# Local development stack. Production (chart.amow.com) is built by Coolify
|
|
# with nixpacks straight from this repo — it does not use this file.
|
|
services:
|
|
api:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
ports:
|
|
# Host port is overridable. Port 8000 is already used by Coolify on the VPS.
|
|
- "0.0.0.0:${PORT:-8010}:8000"
|
|
volumes:
|
|
# Bind-mount the source so --reload picks up edits without a rebuild.
|
|
- .:/app
|
|
environment:
|
|
- PYTHONDONTWRITEBYTECODE=1
|
|
- PYTHONUNBUFFERED=1
|
|
|
|
playwright:
|
|
image: mcr.microsoft.com/playwright:v1.55.0-noble
|
|
command: sh -c "npm install --global playwright@1.55.0 && sleep infinity"
|
|
depends_on:
|
|
- api
|
|
ipc: host
|
|
environment:
|
|
- LANG=en_US.UTF-8
|
|
volumes:
|
|
- ./artifacts/playwright:/artifacts
|