Initial commit
ci / docker (backend, backend/Dockerfile, backend) (push) Successful in 15m15s
ci / docker (frontend, frontend/Dockerfile, frontend) (push) Successful in 15m14s

This commit is contained in:
2025-10-17 18:07:39 +02:00
parent 768f8cb21c
commit 2713dcb047
123 changed files with 25116 additions and 1755 deletions
+32 -6
View File
@@ -1,19 +1,17 @@
version: '3.8'
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: paperless
POSTGRES_PASSWORD: paperless_dev
POSTGRES_DB: paperless
POSTGRES_USER: papercrate
POSTGRES_PASSWORD: papercrate_dev
POSTGRES_DB: papercrate
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
- ./backend/migrations:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD-SHELL", "pg_isready -U paperless"]
test: ["CMD-SHELL", "pg_isready -U papercrate"]
interval: 5s
timeout: 5s
retries: 5
@@ -48,6 +46,34 @@ services:
exit 0;
"
quickwit:
image: quickwit/quickwit:0.8.2
command: ["run"]
environment:
QW_ENABLE_API_AUTH: "false"
QW_DATA_DIR: /quickwit/data
ports:
- "7280:7280"
volumes:
- quickwit_data:/quickwit/data
healthcheck:
test: ["CMD", "curl", "-sf", "http://127.0.0.1:7280/api/v1/version"]
interval: 10s
timeout: 5s
retries: 5
quickwit-create-index:
image: quickwit/quickwit:0.8.2
depends_on:
quickwit:
condition: service_healthy
volumes:
- quickwit_data:/quickwit/data
- ./quickwit/documents-index.yaml:/tmp/documents-index.yaml:ro
command: index create --endpoint=http://quickwit:7280 --index-config /tmp/documents-index.yaml
restart: "no"
volumes:
postgres_data:
minio_data:
quickwit_data: