# The Pi's additions to docker-compose.yml — see docs/PI.md. # # Selected by one line in the Pi's .env, so plain `docker compose` commands use it: # # COMPOSE_FILE=docker-compose.yml:deploy/docker-compose.pi.yml # # Setting COMPOSE_FILE also keeps docker-compose.override.yml out. That file is # for local development only, and Compose would otherwise merge it silently: it # publishes ports and turns the crawl timer off. services: schulcloud-mcp: environment: # The bundled Postgres, by name on the private backend network. Overrides # any DATABASE_URL in .env. DATABASE_URL: postgresql://schulcloud:${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}@postgres:5432/schulcloud networks: caddy: # Join the network the Pi's Caddy container is already on, so Caddy reaches # this server by name and no host port is published. external: true name: ${CADDY_NETWORK:?set CADDY_NETWORK in .env to the Docker network of your Caddy container}