【 使用环境 】测试环境
【 OB or 其他组件 】OceanBase-ce
【 使用版本 】4.3.5.2
【问题描述】 目前通过 docker 启动部署的OceanBase-ce,默认会创建一个 test 数据库,该库名是否可以通过环境变量指定?
如果不支持,后续是否可以添加该功能?
services:
oceanbase:
image: quay.io/oceanbase/oceanbase-ce:latest
container_name: obstandalone
environment:
MODE: MINI
EXIT_WHILE_ERROR: false
OB_TENANT_NAME: gateway
OB_MEMORY_LIMIT: 8G
OB_DATAFILE_SIZE: 100G
OB_LOG_DISK_SIZE: 24G
# OB_SYSTEM_MEMORY: 3G
TZ: Asia/Shanghai
ports:
- "2881:2881"
volumes:
- ./volumes/ob:/root/ob
- ./volumes/obd/cluster:/root/.obd/cluster
networks:
obnet:
ipv4_address: 172.19.0.2
networks:
obnet:
driver: bridge
ipam:
config:
- subnet: 172.19.0.0/16
gateway: 172.19.0.1