-
Notifications
You must be signed in to change notification settings - Fork 1
DOCKER_README
GitHub Actions Bot edited this page May 3, 2026
·
6 revisions
Version 0.5.0 · Docker Hub · MIT License
Production-ready web interface for managing your self-hosted backend stack using the nself CLI.
docker run -d \
--name nself-admin \
-p 3021:3021 \
-v $(pwd):/workspace \
-v /var/run/docker.sock:/var/run/docker.sock \
nself/nself-admin:latestOpen http://localhost:3021 in your browser.
| Tag | Description | Use Case |
|---|---|---|
latest |
Latest stable release | Production |
0.5.0 |
Specific version | Production (pinned) |
0.5 |
Minor version (receives patches) | Production (auto-updates) |
staging |
Latest staging build | Testing |
-
linux/amd64- x86_64 systems -
linux/arm64- ARM systems (Apple Silicon, Raspberry Pi)
| Variable | Default | Description |
|---|---|---|
NSELF_PROJECT_PATH |
/workspace |
Path to your nself project |
| Variable | Default | Description |
|---|---|---|
PORT |
3021 |
Server port |
NODE_ENV |
production |
Environment mode |
LOG_LEVEL |
info |
Log level (debug/info/warn/error) |
-
/workspace- Your nself project directory (read/write)
-
/var/run/docker.sock- Docker socket for container management -
/app/data- Persistent data (database, sessions)
version: '3.8'
services:
nself-admin:
image: nself/nself-admin:latest
container_name: nself-admin
restart: unless-stopped
ports:
- '3021:3021'
volumes:
- /path/to/your/project:/workspace:rw
- /var/run/docker.sock:/var/run/docker.sock
- nself-admin-data:/app/data
environment:
- NSELF_PROJECT_PATH=/workspace
- NODE_ENV=production
- LOG_LEVEL=info
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:3021/api/health']
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
nself-admin-data:The container includes a health check endpoint:
curl http://localhost:3021/api/healthResponse:
{
"status": "healthy",
"checks": {
"docker": true,
"filesystem": true,
"nself": true
}
}curl http://localhost:3021/api/metricsConfigure Prometheus to scrape metrics:
scrape_configs:
- job_name: 'nself-admin'
static_configs:
- targets: ['localhost:3021']
metrics_path: '/api/metrics'- Admin password stored securely (bcrypt hashed)
- Session management with httpOnly cookies
- CSRF protection enabled
- Rate limiting on authentication endpoints
- No sensitive data in environment variables
- Start the container
- Navigate to http://localhost:3021
- Create admin password
- Initialize your nself project
- Start managing your services
- Real-time service monitoring
- Database management console
- Multi-environment deployment (dev/staging/prod)
- SSL certificate management
- Live container logs
- WebSocket-based updates
- Mobile-responsive interface
- Docker 20.10+
- 2GB RAM minimum
- 10GB disk space
MIT - See LICENSE
Built with: Next.js, React, TypeScript, Tailwind CSS, Docker
Maintained by: nself-org
Version: 1.0.0 | Updated: 2026-09-16 11:21 UTC | GitHub