Web-based database administration interface.
Accessing Adminer
Docker Compose users:
Adminer is included and runs on port 8080:
http://localhost:8080
Auto-login is enabled by default for development.
Features
- Browse tables and data
- Run SQL queries
- Export/import data
- View table structure
- Edit records directly
- User-friendly interface
- Dracula theme
Manual Login
If auto-login is disabled:
- System: PostgreSQL
- Server: tux-postgres
- Username: tuxuser
- Password: (from your .env)
- Database: tuxdb
Common Tasks
Browse Data
- Click database name (tuxdb)
- Click table name
- View/edit data
Run SQL Query
- Click "SQL command"
- Enter your query
- Click "Execute"
Export Database
- Click "Export"
- Choose format (SQL, CSV)
- Click "Export"
Security
Production Warning
Disable auto-login in production!
In .env
:
bash
ADMINER_AUTO_LOGIN=false
Don't Expose Publicly
Adminer should only be accessible locally or via VPN/SSH tunnel.
SSH Tunnel
For remote access:
ssh -L 8080:localhost:8080 user@your-server
Then access http://localhost:8080
on your local machine.
Configuration
Change Port
In .env
:
ADMINER_PORT=9090
Then access at http://localhost:9090
Disable Adminer
Comment out in compose.yaml
or:
docker compose stop tux-adminer
Related
Adminer is development/debugging tool. Use with caution in production.