mirror of
https://github.com/johndoe6345789/snippet-pastebin.git
synced 2026-04-24 13:34:55 +00:00
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:
15
docker-compose.backend-only.yml
Normal file
15
docker-compose.backend-only.yml
Normal 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:
|
||||
Reference in New Issue
Block a user