appstore-1panel/apps/oceanbase/4.2.1/docker-compose.yml
2024-04-03 10:58:54 +08:00

26 lines
655 B
YAML

version: '3'
services:
oceanbase:
image: oceanbase/oceanbase-ce:4.2.1
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:2881
environment:
MODE: mini
OB_CLUSTER_NAME: ob_1panel
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}
volumes:
- ./data/ob:/root/ob
- ./data/.obd:/root/.obd
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true