Generated by Spark: I can auto default to flask backend with docker environment variable. If its not set used IndexedDB.

This commit is contained in:
2026-01-17 18:38:03 +00:00
committed by GitHub
parent 40aeedeeba
commit ca93235cde
19 changed files with 1253 additions and 32 deletions

View File

@@ -0,0 +1,15 @@
version: '3.8'
services:
backend:
build: ./backend
ports:
- "5000:5000"
volumes:
- snippet-data:/data
environment:
- DB_PATH=/data/snippets.db
restart: unless-stopped
volumes:
snippet-data: