Nook is a lightweight, self-hosted Platform as a Service (PaaS) for deploying containerized apps. It automates the deployment, reverse proxy configuration, and SSL certificate provisioning.
python3-certbot-nginx on Debian/Ubuntu)*.yourdomain.com)sudo mv nook /usr/local/bin/
sudo nook server start --domain yourdomain.com
(Note: This will secure an Nginx proxy to the API via api.yourdomain.com)
nook login --url https://api.yourdomain.com
You can access the built-in web dashboard to manage your deployed applications visually. Once the server is started, navigate to:
https://api.yourdomain.com/dashboard
Log in using the API token generated during the nook server start command.
Navigate to your app directory (must contain a Dockerfile):
Deploy the app:
nook deploy --name myapp --subdomain app --port 80
Upon successful deployment, your app will be accessible at https://app.yourdomain.com.
List all deployed apps:
nook apps
Stop an app:
nook stop myapp
Refresh/Rotate API Token:
sudo nook server refresh-token
Start an app:
nook start myapp
Remove an app:
nook rm myapp
This project is licensed under the MIT License. See the LICENSE file for details.