Initial commit: nightly iOS app + Supabase backend
iOS SwiftUI app with Supabase auth/realtime, Node.js backend, Docker/Supabase self-hosted infrastructure, and APNs scheduler. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
# Ergänzungen zum offiziellen Supabase docker-compose.yml
|
||||
# Start: docker compose -p nightly -f docker-compose.yml -f docker-compose.override.yml up -d
|
||||
|
||||
services:
|
||||
|
||||
# Schema-Migration wird beim ersten Postgres-Start eingespielt
|
||||
db:
|
||||
volumes:
|
||||
- ./volumes/db/data:/var/lib/postgresql/data:Z
|
||||
- ../nightly-migrations/001_schema.sql:/docker-entrypoint-initdb.d/99_nightly.sql:ro
|
||||
|
||||
# Kong (Supabase API-Gateway) → im proxy-Netzwerk für NPM
|
||||
kong:
|
||||
networks:
|
||||
- default
|
||||
- proxy
|
||||
|
||||
# Studio (Admin-Dashboard) → im proxy-Netzwerk für NPM
|
||||
studio:
|
||||
networks:
|
||||
- default
|
||||
- proxy
|
||||
|
||||
# Nightly Scheduler: APNs-Ping + Resonance-Milestones
|
||||
# ⚠️ APNs: erfordert bezahlten Apple Developer Account ($99/Jahr)
|
||||
scheduler:
|
||||
build: ./scheduler
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env.nightly
|
||||
environment:
|
||||
SUPABASE_URL: http://kong:8000
|
||||
SUPABASE_SERVICE_ROLE_KEY: ${SERVICE_ROLE_KEY}
|
||||
depends_on:
|
||||
- kong
|
||||
networks:
|
||||
- default
|
||||
|
||||
networks:
|
||||
# Externes Netzwerk das NPM und Supabase teilen
|
||||
# Anlegen mit: docker network create proxy
|
||||
proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user