-
Notifications
You must be signed in to change notification settings - Fork 510
Workspace Location
By default, CloudBeaver stores all its files (configurations, scripts, etc.) in the/opt/cloudbeaver/ on the host machine.
| Folder | Description |
|---|---|
workspace |
Workspace files for CloudBeaver. |
drivers |
Auto downloaded database drivers. |
conf |
Configuration files for CloudBeaver. Learn more |
-
Locate the name of the running container:
- Open a terminal on the host machine.
- Run the following command to list all running containers in the Compose project:
docker-compose ps
-
Identify the service name and open a shell inside the container:
docker-compose exec <service_name> /bin/bash
Replace
<service_name>with the actual name of the service from yourdocker-compose.ymlfile. -
After entering the container, navigate to the workspace directory:
cd workspace/
CloudBeaver supports storing its workspace in an AWS S3 bucket. To enable this, update your docker-compose.yml and configure the correct environment variables.
For more details on AWS S3 configuration, including setting up buckets, permissions, and best practices, see the official Amazon S3 Documentation
Make sure your CloudBeaver service includes the following environment variables:
services:
cloudbeaver:
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_REGION=${AWS_REGION}
- CLOUDBEAVER_WORKSPACE_LOCATION=${CLOUDBEAVER_WORKSPACE_LOCATION}Define these variables in your .env file:
AWS_ACCESS_KEY_ID=your-access-key
AWS_SECRET_ACCESS_KEY=your-secret-key
AWS_REGION=your-region
CLOUDBEAVER_WORKSPACE_LOCATION=s3:///dbeaver-downloads/test_workspaceImportant:
- The
CLOUDBEAVER_WORKSPACE_LOCATIONpath must use triple slashes (s3:///) before the bucket name. This is required for proper S3 path handling.- Replace
dbeaver-downloadswith your actual S3 bucket name.test_workspaceis the subfolder where CloudBeaver will store workspace data.
-
No embedded databases
- CloudBeaver cannot use embedded databases (such as H2) with an external S3-based workspace.
- Storing an embedded database in S3 would cause severe performance issues.
-
Separate database node required
- To use an S3 workspace, you must configure an external database such as PostgreSQL, MySQL, or another supported DB.
- Make sure the database is properly defined in
docker-compose.ymlandCLOUDBEAVER_DB_*environment variables.
For more information on CloudBeaver's database, see Server Database.
- Getting started
- Create connection
- Connection network options
- Supported databases
-
Drivers management
- Database authentication methods
- Database navigator
- Properties editor
- Data editor
- SQL editor
-
Entity relation diagrams
- Cloud services
-
AI Smart assistance
- Data transfer
- General user guide
- Administration
- Server configuration
-
Server security and access configuration
- Authentication methods
- Access management
- Proxy configuration
-
Secret management
- Logs
-
Query manager
- Workspace location
- Command line parameters
-
Session manager
- Deployment options
- CloudBeaver Editions
- FAQ
- Development