This Lenny-app is maintained by the ArchiveLabs. which is client app example for Lenny
Turborepo
for deployment.Nextjs
inside Turborepo.Tailwindcss
for styling.docker
for deployment and containerization (Coming soon).
Without Docker (dev)
- Web: http://localhost:3000/
- Docs: http://localhost:3001/
With Docker (via Nginx reverse proxy)
- Web: http://localhost:8080/
- Docs: http://localhost:8081/
Notes
- Each app runs its own Nginx inside the container on port 80 and proxies to the Next.js server on 127.0.0.1:3000.
- The docker compose file maps host ports 8080 (web) and 8081 (docs) to container port 80.
- To serve web on plain http://localhost/, change the web service ports mapping to
80:80
indocker-compose.yml
.
- Location:
docker/nginx.conf
(shared by both app containers). - Purpose: simple reverse proxy to Next.js on 127.0.0.1:3000 with standard headers and upgrade support.
- No path prefixes; each app is served at
/
in its own container. - A debug response header
X-Proxy
is added to show which Nginx responded; remove theadd_header X-Proxy ...
line if you don’t need it.
-
Start your Development enviroment by running the below command, for more check Lenny-app Wiki
pnpm run dev
-
Make sure you have your own Lenny setup running on your machine (installation guide)
git clone [email protected]:ArchiveLabs/lenny.git cd lenny ./run.sh --public --preload
This will add 800+ books inside your Lenny. Feel free to check the Github Docs for Lenny.
-
Start your Production enviroment by running the below command, for more check Lenny-app Wiki
pnpm run build
-
Make sure you have your own Lenny setup running on your machine (installation guide)
curl -fsSL https://raw.githubusercontent.com/ArchiveLabs/lenny/refs/heads/main/install.sh | sudo sh
This will add 800+ books inside your Lenny. Feel free to check the Github Docs for Lenny.
We're seeking partnerships with libraries who would like to try lending digital resources to their patrons.