mirror of
https://github.com/LogicLabs-OU/OpenArchiver.git
synced 2026-04-06 00:31:57 +02:00
* fix(api): correct API key generation and proxy handling This commit resolves an issue where generating a new API key would fail. The root cause was improper handling of POST request bodies in the frontend proxy server. - Refactored `ApiKeyController` methods to use arrow functions to ensure correct `this` binding. * User profile/account page, change password, API * docs(api): update ingestion source provider values Update the `CreateIngestionSourceDto` documentation in `ingestion.md` to reflect the current set of supported providers. * updating tag * feat: add REDIS_USER env variable (#172) * feat: add REDIS_USER env variable fixes #171 * add proper type for bullmq config * Bulgarian UI language strings added (backend+frontend) (#194) * Bulgarian UI Support added * BG language UI support - Create translation.json * update redis config logic * Update Bulgarian language setting, register language * Allow specifying local file path for mbox/eml/pst (#214) * Add agents AI doc * Allow local file path for Mbox file ingestion --------- Co-authored-by: Wei S. <5291640+wayneshn@users.noreply.github.com> * feat(ingestion): add local file path support and optimize EML processing - Frontend: Updated IngestionSourceForm to allow toggling between "Upload File" and "Local File Path" for PST, EML, and Mbox providers. - Frontend: Added logic to clear irrelevant form data when switching import methods. - Frontend: Added English translations for new form fields. - Backend: Refactored EMLConnector to stream ZIP entries using yauzl instead of extracting the full archive to disk, significantly improving efficiency for large archives. - Docs: Updated API documentation and User Guides (PST, EML, Mbox) to clarify "Local File Path" usage, specifically within Docker environments. * docs: add meilisearch dumpless upgrade guide and snapshot config Update `docker-compose.yml` to include the `MEILI_SCHEDULE_SNAPSHOT` environment variable, defaulting to 86400 seconds (24 hours), enabling periodic data snapshots for easier recovery. Shout out to @morph027 for the inspiration! Additionally, update the Meilisearch upgrade documentation to include an experimental "dumpless" upgrade guide while marking the previous method as the standard recommended process. * build(coolify): enable daily snapshots for meilisearch Configure the Meilisearch service in `open-archiver.yml` to create snapshots every 86400 seconds (24 hours) by setting the `MEILI_SCHEDULE_SNAPSHOT` environment variable. --------- Co-authored-by: Antonia Schwennesen <53372671+zophiana@users.noreply.github.com> Co-authored-by: IT Creativity + Art Team <admin@it-playground.net> Co-authored-by: Jan Berdajs <mrbrdo@gmail.com>
74 lines
1.8 KiB
YAML
74 lines
1.8 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
open-archiver:
|
|
image: logiclabshq/open-archiver:latest
|
|
container_name: open-archiver
|
|
restart: unless-stopped
|
|
ports:
|
|
- '3000:3000' # Frontend
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ${STORAGE_LOCAL_ROOT_PATH}:${STORAGE_LOCAL_ROOT_PATH}
|
|
depends_on:
|
|
- postgres
|
|
- valkey
|
|
- meilisearch
|
|
networks:
|
|
- open-archiver-net
|
|
|
|
postgres:
|
|
image: postgres:17-alpine
|
|
container_name: postgres
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: ${POSTGRES_DB:-open_archive}
|
|
POSTGRES_USER: ${POSTGRES_USER:-admin}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-password}
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
networks:
|
|
- open-archiver-net
|
|
|
|
valkey:
|
|
image: valkey/valkey:8-alpine
|
|
container_name: valkey
|
|
restart: unless-stopped
|
|
command: valkey-server --requirepass ${REDIS_PASSWORD}
|
|
volumes:
|
|
- valkeydata:/data
|
|
networks:
|
|
- open-archiver-net
|
|
|
|
meilisearch:
|
|
image: getmeili/meilisearch:v1.15
|
|
container_name: meilisearch
|
|
restart: unless-stopped
|
|
environment:
|
|
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-aSampleMasterKey}
|
|
MEILI_SCHEDULE_SNAPSHOT: ${MEILI_SCHEDULE_SNAPSHOT:-86400}
|
|
volumes:
|
|
- meilidata:/meili_data
|
|
networks:
|
|
- open-archiver-net
|
|
|
|
tika:
|
|
image: apache/tika:3.2.2.0-full
|
|
container_name: tika
|
|
restart: always
|
|
networks:
|
|
- open-archiver-net
|
|
|
|
volumes:
|
|
pgdata:
|
|
driver: local
|
|
valkeydata:
|
|
driver: local
|
|
meilidata:
|
|
driver: local
|
|
|
|
networks:
|
|
open-archiver-net:
|
|
driver: bridge
|