diff --git a/stacks/documents/README.md b/stacks/documents/README.md new file mode 100644 index 0000000..c4709dc --- /dev/null +++ b/stacks/documents/README.md @@ -0,0 +1,31 @@ +### VSCodium + Roo Code + Paperless + +To get a LLM interface to Paperless doc repository, use this code in the Roo Code MCP server configuration: + +```json +{ + "mcpServers": { + "paperless": { + "command": "docker", + "args": [ + "run", + "--rm", + "-i", + "-e", + "PAPERLESS_URL=https://paperless.rishighan.com", + "-e", + "PAPERLESS_API_KEY=a5d51c852459ac8b7048681009e9e98c25647cf8", + "node:20-slim", + "npx", + "-y", + "@baruchiro/paperless-mcp" + ], + "alwaysAllow": [ + "update_document" + ] + } + } +} +``` + +Then, you can ask/command Roo to do things to your docs. \ No newline at end of file diff --git a/stacks/documents/docker-compose.yml b/stacks/documents/docker-compose.yml index 013f95a..027c356 100644 --- a/stacks/documents/docker-compose.yml +++ b/stacks/documents/docker-compose.yml @@ -71,8 +71,8 @@ services: - 4430:443 environment: - TZ=America/Los_Angeles - - JWT_SECRET=${ONLYOFFICE_JWT_SECRET} + - JWT_SECRET=secret123 volumes: - /mnt/user/appdata/onlyofficeds/Data:/var/www/onlyoffice/Data - /mnt/user/appdata/onlyofficeds/logs:/var/log/onlyoffice - - /mnt/user/appdata/onlyofficeds/fonts:/usr/share/fonts + - /mnt/user/appdata/onlyofficeds/fonts:/usr/share/fonts \ No newline at end of file diff --git a/stacks/documents/stack.env b/stacks/documents/stack.env index fcf8b93..1fa0350 100644 --- a/stacks/documents/stack.env +++ b/stacks/documents/stack.env @@ -3,3 +3,4 @@ PAPERLESS_ADMIN_USER=frishi PAPERLESS_ADMIN_PASSWORD=Titu@1588 PAPERLESS_DB_PASSWORD=paperless ONLYOFFICE_JWT_SECRET=secret123 +PAPERLESS_API_TOKEN=a5d51c852459ac8b7048681009e9e98c25647cf8