mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
1297e95e4a
This reverts commit 63cc735b8f
.
27 lines
651 B
YAML
27 lines
651 B
YAML
version: '2.3'
|
|
services:
|
|
bridge1:
|
|
image: clickhouse/jdbc-bridge
|
|
command: |
|
|
/bin/bash -c 'cat << EOF > config/datasources/self.json
|
|
{
|
|
"self": {
|
|
"jdbcUrl": "jdbc:clickhouse://instance:8123/test",
|
|
"username": "default",
|
|
"password": "",
|
|
"maximumPoolSize": 5
|
|
}
|
|
}
|
|
EOF
|
|
./docker-entrypoint.sh'
|
|
expose:
|
|
- 9019
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-s", "localhost:9019/ping"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 30
|
|
volumes:
|
|
- type: ${JDBC_BRIDGE_FS:-tmpfs}
|
|
source: ${JDBC_BRIDGE_LOGS:-}
|
|
target: /app/logs |