Initial commit: deardiary project setup

This commit is contained in:
lotherk
2026-03-26 19:57:20 +00:00
commit 3f9bc1f484
73 changed files with 8627 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
version: '3.8'
services:
backend:
image: ghcr.io/totalrecall/totalrecall:latest
ports:
- "3000:3000"
environment:
- DATABASE_URL=file:/data/totalrecall.db
- MEDIA_DIR=/data/media
- JWT_SECRET=${JWT_SECRET}
- PORT=3000
- CORS_ORIGIN=https://your-domain.com
volumes:
- ./data:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
# Uncomment to use with a reverse proxy like Traefik
# frontend:
# image: ghcr.io/totalrecall/frontend:latest
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.totalrecall.rule=Host(`your-domain.com`)"
# - "traefik.http.routers.totalrecall.entrypoints=websecure"
# - "traefik.http.routers.totalrecall.tls=true"