appstore-1panel/apps/oceanbase/4.2.1/docker-compose.yml
Rongfeng Fu b12b858fe5
feat: support oceanbase-ce (#1180)
* feat: support oceanbase-ce

* chore: update version to 4.2.1

---------

Co-authored-by: 玉楼 <rongfeng.frf@alibaba-inc.com>
2024-04-02 15:37:36 +08:00

28 lines
687 B
YAML

version: '3'
services:
oceanbase:
image: oceanbase/oceanbase-ce:4.2.1
container_name: ${CONTAINER_NAME}
restart: always
environment:
OB_MEMORY_LIMIT: ${OB_MEMORY_LIMIT}G
OB_DATAFILE_SIZE: ${OB_DATAFILE_SIZE}G
OB_LOG_DISK_SIZE: ${OB_LOG_DISK_SIZE}G
OB_ROOT_PASSWORD: ${OB_ROOT_PASSWORD}
OB_TENANT_NAME: ${OB_TENANT_NAME}
MODE: mini
OB_CLUSTER_NAME: ob_1panel
networks:
- 1panel-network
volumes:
- ${HOME_PATH:-./data/ob}:/root/ob
- ./data/.obd:/root/.obd
ports:
- ${PANEL_APP_PORT_HTTP}:2881
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true