{"id":20079430,"url":"https://github.com/s0xzwasd/intellij-clickhouse-docker-example","last_synced_at":"2026-05-10T13:04:58.918Z","repository":{"id":130019782,"uuid":"484044622","full_name":"s0xzwasd/intellij-clickhouse-docker-example","owner":"s0xzwasd","description":"Docker image for ClickHouse database and how to use it in IntelliJ-based IDEs.","archived":false,"fork":false,"pushed_at":"2022-04-21T12:41:26.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T01:13:34.665Z","etag":null,"topics":["clickhouse","database","intellij"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s0xzwasd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-21T12:34:33.000Z","updated_at":"2022-04-21T12:35:56.000Z","dependencies_parsed_at":"2023-12-23T04:15:20.178Z","dependency_job_id":null,"html_url":"https://github.com/s0xzwasd/intellij-clickhouse-docker-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0xzwasd%2Fintellij-clickhouse-docker-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0xzwasd%2Fintellij-clickhouse-docker-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0xzwasd%2Fintellij-clickhouse-docker-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0xzwasd%2Fintellij-clickhouse-docker-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s0xzwasd","download_url":"https://codeload.github.com/s0xzwasd/intellij-clickhouse-docker-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241509656,"owners_count":19974071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clickhouse","database","intellij"],"created_at":"2024-11-13T15:22:33.998Z","updated_at":"2026-05-10T13:04:53.876Z","avatar_url":"https://github.com/s0xzwasd.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub](https://img.shields.io/github/license/s0xzwasd/intellij-clickhouse-docker-example?style=flat-square) \n\nAn example of [ClickHouse OLAP DBMS](https://clickhouse.com/) database\nusing [yandex/clickhouse-server](https://registry.hub.docker.com/r/yandex/clickhouse-server) image in IntelliJ-based\nIDEs.\n\n# Getting Started\n\n1. Run Docker services or Docker Desktop.\n2. Open `docker-compose.yaml` in IntelliJ-based IDEs and click on the gutter icon over `services` declaration.\n   Alternatively, execute `sudo docker-compose up -d` in CLI.\n3. Select _View | Tool Windows | Database_, select _New_ and configure the following options:\n    1. Host: `localhost`\n    2. Port: `8123`\n    3. User: `default`\n    4. Password: empty\n    5. Database: empty or `default`\n4. Press _Test Connection_, save changes.\n5. Initialize a sample table by executing the code below\n   in [Query Console](https://www.jetbrains.com/help/idea/working-with-database-consoles.html).\n\n```clickhouse\nCREATE TABLE test_tbl\n(\n    id          UInt16,\n    create_time Date,\n    comment Nullable(String)\n) ENGINE = MergeTree()\n      PARTITION BY create_time\n      ORDER BY (id, create_time)\n      PRIMARY KEY (id, create_time)\n      TTL create_time + INTERVAL 1 MONTH\n      SETTINGS index_granularity = 8192;\n```\n\n```clickhouse\nInsert into test_tbl\nvalues (0, '2019-12-12', null);\nInsert into test_tbl\nvalues (0, '2019-12-12', null);\nInsert into test_tbl\nvalues (1, '2019-12-13', null);\nInsert into test_tbl\nvalues (1, '2019-12-13', null);\nInsert into test_tbl\nvalues (2, '2019-12-14', null);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0xzwasd%2Fintellij-clickhouse-docker-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs0xzwasd%2Fintellij-clickhouse-docker-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0xzwasd%2Fintellij-clickhouse-docker-example/lists"}