17 lines
578 B
YAML
17 lines
578 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=8010 docker compose up`. On the VPS
|
|
# itself 8000 is already taken by the Coolify UI.
|
|
- "${PORT:-8000}:8000"
|
|
volumes:
|
|
# Bind-mount the source so --reload picks up edits without a rebuild.
|
|
- .:/app
|
|
environment:
|
|
- PYTHONDONTWRITEBYTECODE=1
|
|
- PYTHONUNBUFFERED=1
|