# Dev-only overlay, applied on top of docker-compose.yml: # # npm run dev # podman-compose -f docker-compose.yml -f docker-compose.dev.yml up # # It intentionally avoids the `!override` YAML tag (a Docker Compose v2.24+ # extension) so that it also works with podman-compose, which concatenates the # volume lists of both files and keeps the last entry per mount target. services: db: ports: # expose the database on the host for local tooling - 127.0.0.1:15432:5432/tcp app: volumes: # live source checkout instead of the image copy - .:/var/www/html/books # re-declared so it wins over the base entry (last one per target wins) - ${BOOKS_DIR}:/books:ro web-nginx: volumes: - .:/var/www/html/books:ro - ${BOOKS_DIR}:/books:ro