coreapp new --postgres --sso: database and sign-in together

Overlays no longer replace service: each names the Core apps it needs in
.depends, merged into DEPENDS. The sign-in code is a module (oidc.py)
that examples import; templates/postgres-sso is the combined example
(sign-in, each person's visits counted in PostgreSQL). Tested with
team-visits, including sign-in in a browser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 12:43:22 -07:00
co-authored by Claude Opus 5.5
parent 284f52fc29
commit d8c6d1011f
14 changed files with 381 additions and 172 deletions
+9
View File
@@ -0,0 +1,9 @@
# The app's image. coreapp deploy builds it as coreapp/{{NAME}}:<VERSION>
# and copies it to the Core. Replace this with your own app; keep it
# listening on the port in docker-compose.yml.in (8080).
FROM python:3.13-slim
RUN pip install --no-cache-dir "psycopg[binary]==3.2.*"
COPY app.py oidc.py /app/
USER nobody
EXPOSE 8080
CMD ["python", "-u", "/app/app.py"]