commit | 148790c8faf75a13988e939313b1c6de2a00bc6e | [log] [tgz] |
---|---|---|
author | Jiacai Liu <dev@liujiacai.net> | Fri May 10 19:40:28 2024 +0800 |
committer | GitHub <noreply@github.com> | Fri May 10 19:40:28 2024 +0800 |
tree | 2543a598c754249f0af8d0770cacbd184458da17 | |
parent | 3fef06d42d553d97bcb42823cfef1e3d34d636d7 [diff] |
fix: docker image use apache namespace (#1529) ## Rationale After donate ceresdb to ASF, we should publish docker image under apache. - https://hub.docker.com/r/apache/horaemeta-server - https://hub.docker.com/r/apache/horaedb-server ## Detailed Changes Use `DOCKERHUB_USER ` `DOCKERHUB_TOKEN` to publish image. See details: https://issues.apache.org/jira/browse/INFRA-25736 ## Test Plan Manually. - https://github.com/jiacai2050/incubator-horaedb/actions/runs/9029607730 --------- Co-authored-by: chunshao.rcs <chunshao@apache.org>
HoraeDB is a high-performance, distributed, cloud native time-series database.
docker run -d --name horaedb-server \ -p 8831:8831 \ -p 3307:3307 \ -p 5440:5440 \ ghcr.io/apache/horaedb-server:nightly-20231222-f57b3827
docker compose -f docker/docker-compose.yaml up
See details here.
Create Table.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' CREATE TABLE `demo` ( `name` string TAG, `value` double NOT NULL, `t` timestamp NOT NULL, timestamp KEY (t)) ENGINE=Analytic with (enable_ttl="false") '
Write data with SQL.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' INSERT INTO demo (t, name, value) VALUES (1702224000000, "horaedb", 100) '
Read data with SQL.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' SELECT * FROM `demo` '
Drop table.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' Drop TABLE `demo` '
Thrive together in Apache HoraeDB community with users and developers from all around the world.
dev@horaedb.apache.org
to join HoraeDB slack channelRead our Contributing Guide and make your first contribution!
When develop HoraeDB, we benefit a lot from several other open source projects, such as influxdb_iox, tikv etc, thanks for their awesome work.
In our production usage, we heavily use OceanBase as implementation of both WAL and ObjectStorage, and OceanBase team help us maintain stability of our cluster, thanks for their kindly support.
HoraeDB is under Apache License 2.0.