Initial commit with Phase 0 Scaffolding
This commit is contained in:
parent
b393607602
commit
c545d4b17d
51 changed files with 7064 additions and 4 deletions
31
docker-compose.yml
Normal file
31
docker-compose.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
services:
|
||||
backend:
|
||||
build: ./backend
|
||||
environment:
|
||||
- PAPERJET_SECRET_KEY=${SECRET_KEY:-change-me-in-production}
|
||||
- PAPERJET_MAX_UPLOAD_MB=${MAX_UPLOAD_MB:-200}
|
||||
- PAPERJET_TRASH_RETENTION_DAYS=${TRASH_RETENTION_DAYS:-30}
|
||||
- PAPERJET_AUTO_VERSION_RETENTION_DAYS=${AUTO_VERSION_RETENTION_DAYS:-30}
|
||||
- PAPERJET_COOKIE_SECURE=${COOKIE_SECURE:-false}
|
||||
- PAPERJET_DATABASE_PATH=/data/db/app.sqlite
|
||||
- PAPERJET_PDF_STORAGE_PATH=/data/pdfs
|
||||
- PAPERJET_THUMBNAILS_PATH=/data/thumbnails
|
||||
volumes:
|
||||
- pdf_storage:/data/pdfs
|
||||
- thumbnails:/data/thumbnails
|
||||
- db:/data/db
|
||||
expose:
|
||||
- "8000"
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
build: ./frontend
|
||||
depends_on: [backend]
|
||||
ports:
|
||||
- "${HTTP_PORT:-4982}:80"
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
pdf_storage:
|
||||
thumbnails:
|
||||
db:
|
||||
Loading…
Add table
Add a link
Reference in a new issue