The Admin UI is a comprehensive web-based dashboard introduced in nself v0.3.9. It provides real-time monitoring, service management, and database operations through an intuitive interface at localhost:3100.
Enable the Admin UI with a single command:
# Enable the admin UI
nself admin enable
# Set a custom password
nself admin password mypassword
# Open in browser
nself admin openMonitor the health and status of all your services in real-time:
Manage your Docker containers directly from the web interface:
Execute SQL queries and manage your PostgreSQL database:
Centralized logging with advanced filtering and search:
Create, restore, and manage database backups:
Edit environment variables and configuration files:
The nself admin command provides complete control over the Admin UI:
# Enable the admin UI
nself admin enable
# Disable the admin UI
nself admin disable
# Check admin UI status
nself admin status
# Set or change password
nself admin password [PASSWORD]
# Reset admin to defaults
nself admin reset
# View admin container logs
nself admin logs
# Open admin UI in browser
nself admin openThe Admin UI is protected by password authentication to ensure security:
http://localhost:3100adminnself admin passwordIf no password is set, the Admin UI generates a temporary password displayed during the nself admin enable command.
The Admin UI is designed for local development and should be secured properly for production use:
The Admin UI can be configured through environment variables:
# Enable/disable admin UI
NSELF_ADMIN_ENABLED=true
# Custom admin UI port (default: 3100)
NSELF_ADMIN_PORT=3100
# Admin username (default: admin)
NSELF_ADMIN_USER=admin
# Admin password (set via nself admin password)
NSELF_ADMIN_PASSWORD=your-secure-passwordIf the Admin UI fails to start, check the following:
nself admin logsnself admin resetIf you can't access the Admin UI in your browser:
nself admin statuscurl http://localhost:3100nself admin openIf you've forgotten your password or need to reset access:
nself admin password newpasswordnself admin resetnself admin disable && nself admin enableThe Admin UI integrates with other nself commands:
nself status - View service health (also available in Admin UI)nself logs - Stream logs (also available in Admin UI)nself db - Database operations (also available in Admin UI)nself backup - Backup management (also available in Admin UI)The Admin UI provides a graphical interface to many CLI operations, making it easier to manage your nself infrastructure, especially for team members who prefer web interfaces over command-line tools.