This commit is contained in:
marsal wang
2023-07-26 10:07:34 +08:00
parent f884cb1020
commit 1e5a703cce
5384 changed files with 618283 additions and 4002 deletions

View File

@ -0,0 +1,28 @@
version: '3.8'
networks:
default:
name: ${NAMESPACE}
external: true
services:
db:
image: docker.io/bitnami/clickhouse:23
ports:
- '${NODE_PORT}:8123'
environment:
- TZ=Asia/Shanghai
- CLICKHOUSE_ADMIN_USER=${CLICKHOUSE_ADMIN_USER}
- CLICKHOUSE_ADMIN_PASSWORD=${CLICKHOUSE_ADMIN_PASSWORD}
volumes:
- 'data_db:/bitnami/clickhouse'
deploy:
update_config:
order: start-first
placement:
constraints:
- node.labels.${NAMESPACE}_clickhouse==1
volumes:
data_db:
driver: local