Administration and integrations

Private deployment and network behavior

OCR, extraction, search and answers all run on your own machines. The few connections that can leave them are listed here with what each carries — most exist only once you configure them, and a server can run with none at all.

ABOUT 15 MINUTESREFERENCEFOR IT AND SECURITY

Logley principleProcessing happens where the documents are

The models, the search index and the database run on machines you control, so a document never has to travel to be read, searched or answered.

Scope

This describes the current release on both of its platforms (the Windows installer, and Linux with Docker Compose, set up by the Linux installer or by hand) and shows the difference wherever they behave differently. The ports themselves are tabled in the infrastructure requirements; this page covers what answers on them and what leaves the machine.

What runs where

  • The application — the web app, the API and the background jobs that process documents. On Windows it is the LogleyApi service and serves the web app itself; with Docker Compose the API and the web app are separate containers behind nginx.
  • PostgreSQL 16 for records, Qdrant for the search index and Ollama for the language and embedding models — Windows services, or containers on the compose network.
  • OCR — Tesseract inside the application, and PaddleOCR as a separate service (on Windows, when its download succeeded).
  • nginx, with Docker Compose only, in front of everything else.

What a document becomes (the stored file, the extracted record, the search vectors) stays in those stores: under the data directory on Windows, %ProgramData%\Logley\data by default, and in Docker volumes with Compose.

Inbound: what answers, and where TLS ends

Two ports are meant to be reached from the network: the HTTPS port (443 unless you chose another) and port 80. Everything else listens on the machine itself or inside the compose network.

Where TLS terminates and what plain HTTP answers, per install path
Install pathHTTPS is terminated byPlain HTTP on port 80
Windows installerThe application itself, with the certificate the installer generated or the one you supplied. The installer opens the HTTPS port and port 80 in Windows Firewall, and nothing else.Answers /setup and /health; redirects everything else to HTTPS (301).
Linux with Docker Composenginx, with the certificate in deploy/nginx/certs, TLS 1.2 and 1.3 only. It forwards to the API and the web app inside the compose network.nginx answers /setup and /health — the same two; redirects everything else to HTTPS (301).

The device setup page, /setup, is anonymous by design: it is how a laptop or phone reaches the server before it trusts the certificate. It shows the server’s address with a QR code to open it on a phone, the steps to trust the certificate on Windows, macOS, iPhone, iPad and Android, a download of the private certificate authority as ca.crt, and a live check that the secure connection works. It changes nothing and signs nobody in. The server fills the page in before sending it. Its live check only requests /api/public-config over HTTPS and ignores the answer; the in-app Add a device dialog is what reads it. That endpoint answers anyone with the server’s display name, version and addresses, and whether a certificate download is needed — nothing secret. With a certificate from your own CA there is no private CA to hand out: the download answers 404, and on Windows the page leaves the trust step out.

/setup as a device sees it before trusting the certificate. Nothing on it needs a sign-in, and nothing on it changes the server. logley.corp.local stands for your server’s address.

The health checks answer without signing in: /health/live says the process is up, /health/ready that its dependencies answer. /health/details and the Prometheus /metrics endpoint need a signed-in session; an API key opens only the agent tools.

Outbound: every connection that can leave

Inside your environmentYour Logley server
  • The applicationThe web app, the API and the background jobs
  • PostgreSQL, Qdrant, OllamaRecords, the search index, the models
  • OCRTesseract, and PaddleOCR
Solid lines happen on every server: downloads while installing or updating. Dashed lines happen only once someone configures them or switches them on — every shipped configuration leaves them off. The routes map’s requests are not drawn: each user’s browser makes them, not the server.
Every outbound connection, when it can happen, where it goes and what it sends
ConnectionWhen it can happenWhere it goesWhat is sent
Licence activationOnly with an activation code: at start-up, then every 15 minutes until the code is redeemed or refused.Logley’s licence service, licensing.logley.net, over HTTPS. A server behind an egress gateway can be pointed at the gateway instead, in Licensing:ServerUrl.The activation code, the installation id, the public half of the server’s device key (which the licence is bound to) and the product version; with an id for the request and a one-time challenge from the licence service, signed with that key.
Licence renewalOnly with an activated online licence: once a day, at a time derived from the installation id.licensing.logley.net, or the gateway in Licensing:ServerUrl.The licence id, the installation id, the product version, an id for the request, a one-time challenge from the licence service signed with the server’s device key, and two counts: users and organizations.
Licence releaseOnly when an administrator releases the licence to move it to another installation: once, from the licence page.licensing.logley.net, or the gateway in Licensing:ServerUrl.The licence id and the installation id, an id for the request, and a one-time challenge from the licence service signed with the server’s device key.
SubscriptionOnly when an administrator presses a button in the licence page’s Subscription section (to see the plans or subscribe; to see, cancel, keep or switch the subscription; to open its billing) and, while a purchase they started waits for its payment, every five seconds for up to ten minutes. Opening the page sends nothing, and an offline licence’s page has no such section.licensing.logley.net, or the gateway in Licensing:ServerUrl.Only what that step needs: the installation id, the licence id, the plan chosen, the payment’s transaction id and, to see the plans or buy, the public half of the server’s device key. Every request but the plans and a payment’s progress also carries an id for the request and a one-time challenge signed with that key. Paddle takes the payment on its own page, in the administrator’s browser: no card or billing detail passes through the server.
Model downloadsInstallation. The Windows installer requests each chat model you selected, plus the embedding model, which it always fetches because every document is indexed with it. On Linux the installer pulls the embedding model and the chat models you chose into Ollama once the containers are up, and install.sh pulls the embedding model and the chat model .env names. After that, only when an administrator clicks Download or Download again under Settings → System → AI model: one request for that model.Ollama’s model registry.A request for each model. Nothing of yours.
OCR and GPU bundles (Windows)Installation: PaddleOCR unless it is already present or supplied offline; the CUDA libraries only for an NVIDIA card with GPU acceleration on.A public GitHub release, or a mirror you name. Each archive must match a SHA-256 pinned in the installer.A download request.
Container images (Docker Compose)Installation (the Linux installer and install.sh both pull them) and each time you pull an update.registry.logley.net for the three Logley images; Docker Hub for PostgreSQL, Qdrant, Ollama and nginx.An image pull.
Published exchange ratesOnly when an Admin or Editor presses Fetch now or Backfill 90 days, or switches on Update daily, which then runs at 15:30 UTC. All start off. With KSeF set up, also when a foreign-currency invoice with VAT is submitted, or a payment on a foreign-currency invoice is recorded, and no rate is loaded for it.The European Central Bank (www.ecb.europa.eu, its daily or 90-day reference-rate file) or the National Bank of Poland (api.nbp.pl, Table A). With KSeF set up, these ask only the National Bank of Poland.A plain GET. The only thing it varies is which dates it asks for.
Live exchange-rate modeOnly when an administrator sets Exchange rate mode to Live (fetched online, kept for an hour); the default is Static (manual rates). Then whenever rates are needed, cached for an hour.open.er-api.comA plain GET for the latest US-dollar rate table.
Release checkOnly when an administrator presses Check now under Settings → System → Updates, or switches on Check for new releases automatically, which then asks once a day. It starts off.download.logley.net, or a mirror named in Updates:ManifestUrl. Setting Updates:Enabled to false forbids it.A plain GET for the list of the current release’s files. It carries nothing about the installation, and nothing is downloaded or installed by itself.
Services you configureOnly once someone sets them up.The host you enter: your IMAP and SMTP servers — and Microsoft’s sign-in service for a Microsoft 365 mailbox using OAuth; Odoo or SAP Business One; HubSpot, Pipedrive or Salesforce; KSeF, which is then asked for each submission’s status every 5 minutes until it is confirmed, and, while an invoice issued offline is waiting to go, whether it answers, every 10 minutes, and, only once an administrator switches on Receive purchase invoices from KSeF, for this organization’s purchase invoices about every 15 minutes, and once an hour for those that name it as a recipient, payer or other third party; the URLs you register for webhooks; an OSRM routing server; a network share watched for documents.What that integration exists to move — mail, invoice records, e-invoices, event payloads, files.
Routes mapWhenever someone opens the routes map. The requests come from their browser, not from the server.tiles.openfreemap.orgRequests for the map tiles covering the area on screen.

No row sends a document, its text or its extracted values anywhere except to a system you configured; the map requests carry only the area on screen. The renewal request is fixed in code as the complete list, and the licence page shows the same list under What renewal sends:

Settings, then System, then Licence

The text on the licence page, in the product’s own words. It is always shown in full.

If the licence service cannot be reached, nothing changes at first: a lease is issued for 30 days and renewed daily. From the seventh failed renewal in a row, the licence page and a banner say the service cannot be reached — a message about connectivity, not about the subscription. If renewals keep failing, the installation becomes read-only when the current licence period runs out; reading, searching and exporting keep working.

Telemetry

  • There is no analytics, telemetry or error-reporting SDK in the application or in the web app. The web app loads its fonts and its PDF viewer from the server, not from a CDN.
  • Qdrant, which holds the search index, reports anonymous usage statistics to its developers unless it is told not to, and Ollama, which runs the models, looks up its developers’ online model catalogue. Every install path tells both not to, so neither sends anything. Downloading a model you selected still works.
  • Logs stay on the machine: the application writes them to its console and to a daily file, keeping the last 30. With Docker Compose, docker compose logs api reads them.
  • The product records, per user, which built-in guide and step or which chat command was used (never the text of a message) in a table in your own database. Setting Guides:TelemetryEnabled to false stops even that.
  • Prometheus metrics are only ever pulled, from an endpoint that needs a signed-in session. Nothing pushes them anywhere.

Updates

Nothing updates itself. The release check in the table above only asks which release is current, and only once an administrator asks or switches it on. New binaries arrive only when you run a newer installer on Windows, or pull newer images with Docker Compose — the VERSION setting in .env picks the tag of the Logley images, latest by default. Updates, backup and restore covers doing that safely.

How to verify it yourself

  1. Deny outbound by default

    Block all egress from the server at your firewall, then allow only the destinations of the services you configured.

  2. Install with nothing left to download

    Stage the models and, on Windows, the OCR bundle first, as installing without internet access describes. The Windows installer still asks the model registry for each model it installs; with egress denied that request fails, and the installer reports it as a warning, not a failure. On Linux, load the images and the models as that guide describes; install.sh then warns that it could not download them, and carries on.

  3. Use it for real

    Add documents, search, ask questions and go through the settings pages. None of that needs the internet.

  4. Read the firewall log

    Apart from the attempts during installation, the server should appear only in connections to the hosts you allowed. The routes map’s tiles are requested by each user’s browser, so they show up from the client’s address, not the server’s.

  5. Check what the product reports

    A refused request surfaces where it was made. Fetch now under Currency and rates fails with a message naming the host it could not reach, and the tab’s band keeps the last failure; a mailbox or an ERP connection that cannot connect says so on its own card.

Reaching zero outbound connections

After installation, a server makes no outbound connection at all when:

  • The server runs its trial or an offline licence. Neither makes a licence call by itself: only an activation code and the online licence it yields contact the licence service — or a person who presses a button in the licence page’s Subscription section, which an offline licence’s page does not have.
  • Update daily is off and nobody presses Fetch now or Backfill 90 days.
  • Exchange rate mode stays on Static (manual rates).
  • Check for new releases automatically under Updates is off and nobody presses Check now.
  • No mailbox, SMTP server, ERP or CRM connector, e-invoicing, webhook, routing server or network-share watch folder is configured.

The two exchange-rate settings are on one tab:

Settings, then Organization, then Currency and rates

Update daily off, and Not synced yet: this tab has made no connection.
Static (manual rates), the default: no rate is fetched from anywhere.
Requests the server does not make

The routes map loads its basemap from tiles.openfreemap.org in each user’s browser. A browser that cannot reach it gets no map.

NEXT GUIDEInstalling without internet access
Continue

Continue exploring

Was this guide useful?

If something was missing or unclear, the contact page says where to write.

Contact