Workspace Location
Table of contents
Overview
In Team Edition, each service stores its workspace in different containers:
- Domain Controller:
/opt/domain-controller/
- Resource Manager:
/opt/resource-manager/
- Task Manager:
/opt/task-manager/
Folder | Description |
---|---|
workspace | Workspace files for Team Edition. |
drivers | Auto downloaded database drivers. |
conf | Configuration files for Team Edition. Learn more |
Access workspace
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.yml
file.After entering the container, navigate to the workspace directory:
cd workspace/
Workspace in Amazon S3
Team Edition 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
Update docker compose
Make sure your Team Edition service includes the following environment variables:
cloudbeaver-dc:
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_REGION=${AWS_REGION}
- CLOUDBEAVER_DC_WORKSPACE_LOCATION=${CLOUDBEAVER_DC_WORKSPACE_LOCATION}
cloudbeaver-rm:
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_REGION=${AWS_REGION}
- CLOUDBEAVER_RM_WORKSPACE_LOCATION=${CLOUDBEAVER_RM_WORKSPACE_LOCATION}
cloudbeaver-tm:
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_REGION=${AWS_REGION}
- CLOUDBEAVER_TM_WORKSPACE_LOCATION=${CLOUDBEAVER_TM_WORKSPACE_LOCATION}
Configure S3 workspace
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_workspace
Important:
- The
CLOUDBEAVER_WORKSPACE_LOCATION
path must use triple slashes (s3:///
) before the bucket name. This is required for proper S3 path handling.- Replace
dbeaver-downloads
with your actual S3 bucket name.test_workspace
is the subfolder where CloudBeaver will store workspace data.
Limitations of using S3 Workspace
No embedded databases
- Team Edition 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.yml
andCLOUDBEAVER_DB_*
environment variables.