# Development overlay — build the app + bot images locally instead of pulling the
# prebuilt ones from the Gitea registry.
#
# The base docker-compose.yml is production-shaped (image: only, no build:), so a
# production host can never accidentally build — it only pulls. Use this overlay
# EXPLICITLY for local work (it is not auto-loaded like docker-compose.override.yml
# would be):
#
#   docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
#
# Production stays:
#
#   docker compose pull && docker compose up -d
#
# The `image:` tags inherited from the base file double as the local build tags,
# so a built image and a pulled one are interchangeable.
services:
  app:
    build: .

  bot:
    build:
      context: .
      dockerfile: bot/Dockerfile
