Use Starlette, uvicorn and websockets; rename Docker files to container ones

Serve neo4j-browser with Starlette and uvicorn (the optional browser extra)
instead of a hand-written HTTP server, and handle Bolt over WebSocket with the
websockets library's Sans-I/O protocol. Rename Dockerfile, .dockerignore and
docker/ to Containerfile, .containerignore and container/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Bart BroereandClaude Opus 5.5 committed 2026-10-21 11:27:25 +02:00
1 parent 3e8e498b56
commit f0fb9ddc74
18 files changed
+189 -162

No files matched your search

+2 -1
View File
@@ -13,7 +13,7 @@ license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
authors = [{ name = "Bart Broere" }]
requires-python = ">=3.11"
dependencies = ["psycopg>=3.1"]
dependencies = ["psycopg>=3.1", "websockets>=13"]
keywords = ["neo4j", "bolt", "cypher", "postgresql", "apache-age", "graph"]
classifiers = [
"Development Status :: 3 - Alpha",
@@ -23,6 +23,7 @@ classifiers = [
[project.optional-dependencies]
binary = ["psycopg[binary]>=3.1"]
browser = ["starlette>=0.37", "uvicorn>=0.29"]
[project.urls]
Source = "https://git.bartbroe.re/bartbroere/peo"