feat: mvp

This commit is contained in:
2025-11-26 21:48:06 +01:00
commit 5ab04b9acb
58 changed files with 14997 additions and 0 deletions

38
compose.yaml Normal file
View File

@@ -0,0 +1,38 @@
services:
db:
image: postgres
restart: always
ports:
- 5432:5432
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: mysecretpassword
POSTGRES_DB: local
volumes:
- pgdata:/var/lib/postgresql
frontend:
profiles:
- frontend
build: .
ports:
- 5173:3000
environment:
DATABASE_URL: 'postgres://root:mysecretpassword@db:5432/local'
ORIGIN: 'http://localhost:5173'
AUTH_SECRET: ${AUTH_SECRET}
AUTH_TRUST_HOST: true
AUTH_NEXTCLOUD_ID: ${AUTH_NEXTCLOUD_ID}
AUTH_NEXTCLOUD_SECRET: ${AUTH_NEXTCLOUD_SECRET}
AUTH_NEXTCLOUD_ISSUER: ${AUTH_NEXTCLOUD_ISSUER}
depends_on:
- db
develop:
watch:
- path: .
action: rebuild
target: /app
volumes:
pgdata: