Key configuration variables
Before you begin, be aware of these key environment variables that RisingWave Console uses:- RCONSOLE_SERVER_PORT: (Optional) Specifies the port on which the RisingWave Console server will listen. Defaults to- 8020.
- RCONSOLE_SERVER_PG_DSN: (Required for binary and Docker Compose with external PG) The PostgreSQL connection string for RisingWave Console’s metadata database.- Format: postgres://<user>:<password>@<host>:<port>/<database_name>
- It’s important to note that this database is used by RisingWave Console to store its own operational data and does not store your RisingWave cluster’s user data.
 
- Format: 
- RCONSOLE_ROOT_PASSWORD: (Optional) Sets the initial password for the- rootuser in the RisingWave Console UI. If not set, it defaults to- root. It’s recommended to set this for any persistent deployment.
- RCONSOLE_RISECTLDIR: (Optional) May be used by RisingWave Console if it needs to locate- risectlresources for executing commands against your RisingWave cluster. The default behavior usually suffices.
System requirements
- Memory: Minimum 512MB RAM (1GB recommended)
- Storage: At least 1GB free disk space
- Architecture: x86_64 and ARM64 are supported
- Network: Port 8020 (or your custom port) must be accessible
Option 1: Quick setup with docker (bundled PostgreSQL)
This is the fastest way to try RisingWave Console. Therisingwavelabs/risingwave-console:vX.Y.Z-pgbundle image includes a PostgreSQL server and is hosted on Docker Hub. Replace vX.Y.Z with the desired RisingWave Console version (for example, v0.4.0).
Security Note: For production deployments, always set a strong 
RCONSOLE_ROOT_PASSWORD and ensure the console is not exposed to public networks without proper authentication.- 
Ephemeral storage (for testing only)
All RisingWave Console metadata will be lost if the container is removed.
To set a custom root password:
- 
Persistent storage (recommended for standalone Docker)
RisingWave Console metadata is stored in a Docker volume (risingwave-console-data), ensuring data persists across container restarts or recreations.
Option 2: Setup with binary (requires external PostgreSQL)
This method uses a standalone RisingWave Console binary and requires you to have a separate, running PostgreSQL database.- Download and install the latest RisingWave Console binary:
- Ensure your PostgreSQL database is accessible and set the RCONSOLE_SERVER_PG_DSNenvironment variable. Then, run RisingWave Console:(AdjustRCONSOLE_SERVER_PG_DSNandRCONSOLE_ROOT_PASSWORDaccordingly.)
Option 3: Recommended setup (docker compose with external PostgreSQL)
This method uses Docker Compose to run RisingWave Console and allows you to easily manage it alongside your own PostgreSQL instance (either also as a Docker container or an external one).- 
Create a docker-compose.yamlfile:Note:- Replace vX.Y.Zwith the specific RisingWave Console version (for example,v0.4.0).
- Adjust RCONSOLE_SERVER_PG_DSNto point to your PostgreSQL instance. Ifdbis a service in the same Docker Compose, you can usedb_host: db.
- Update PostgreSQL credentials and database name.
 
- Replace 
- 
Start RisingWave Console:
Verifying the installation
After starting RisingWave Console, check its logs to ensure it started without errors:- If using Docker/Docker Compose: docker logs risingwave-console(or your service name).
- If using binary: Observe the terminal output.
Finding the latest version
To find the latest available version of RisingWave Console:- Docker Hub: Visit risingwavelabs/risingwave-console on Docker Hub
- GitHub Releases: Check the RisingWave Console releases page
Troubleshooting common issues
- Port already in use: If port 8020 is occupied, change RCONSOLE_SERVER_PORTto an available port (e.g.,8021)
- Connection refused: Ensure your PostgreSQL database is running and accessible
- Permission denied: Check that the user has appropriate permissions to access the PostgreSQL database
- Container fails to start: Verify that the Docker image name and version are correct
Initial login and dashboard overview
- Access RisingWave Console UI: Open your web browser and navigate to http://localhost:8020(or the host/port you configured).
- Login:
- Username: root
- Password: The password you set via RCONSOLE_ROOT_PASSWORD, orrootif not set.
 
- Username: 
- Dashboard: Upon successful login, you’ll see the RisingWave Console dashboard. This is your main entry point to:
- Manage Clusters: For connecting to your RisingWave instances.
- Use the SQL Console: For querying your RisingWave data.
- Access links to external resources and documentation.