mirror of
https://github.com/nimbusdotstorage/Nimbus
synced 2026-04-22 17:45:03 +02:00
1.8 KiB
1.8 KiB
🚀 Deployment Guide
🐳 Docker Compose Deployment
This is the simplest way to deploy Nimbus locally or on a single server.
To make it even simpler, we recommend using Coolify.
Prerequisites
1. Clone the Repository
git clone https://github.com/nimbusdotstorage/Nimbus.git
cd Nimbus
2. Set Up Environment Variables
cp .env.example .env
Nimbus requires the following environment variables to work, some will be pre-filled for local testing:
REQUIRED:
GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETMICROSOFT_CLIENT_IDMICROSOFT_CLIENT_SECRETBETTER_AUTH_SECRETBETTER_AUTH_URLSERVER_PORTWEB_PORTBACKEND_URLTRUSTED_ORIGINSVITE_PUBLIC_BACKEND_URLVITE_PUBLIC_FRONTEND_URLDATABASE_URLDATABASE_HOSTPOSTGRES_PORTPOSTGRES_USERPOSTGRES_PASSWORDPOSTGRES_DBVALKEY_PORTVALKEY_HOSTVALKEY_USERNAMEVALKEY_PASSWORD
OPTIONAL:
EMAIL_FROMRESEND_API_KEYVITE_PUBLIC_POSTHOG_KEYVITE_PUBLIC_POSTHOG_HOST
3. Start Services
docker compose up -d
4. Verify Services
- Web UI: http://localhost:3000
- Server API: http://localhost:1284
- PostgreSQL: localhost:5432
- Valkey (Redis-compatible): localhost:6379
5. Stop Services
docker compose down
6. Service Health Checks
- Database:
pg_isready -h localhost -p 5432 - Cache:
redis-cli -h localhost -p 6379 ping - API:
curl http://localhost:1284/health
7. Enjoy!
Your container should now be available at http://localhost:3000 or at the domain you set up!