Stable versions of Docker Compose and services as of publication date.
.env
DOCKER_COMPOSE_VERSION=3.8
MYSQL_VERSION=8.0.31
REDIS_VERSION=7.0.7
CLICKHOUSE_VERSION=22.9.7.34
PMA_VERSION=5.2.0
REDIS_COMMANDER_VERSION=latest
MYSQL_PORT=3306
REDIS_PORT=6379
CLICKHOUSE_PORT=8123
PMA_PORT=8080
REDIS_COMMANDER_PORT=8081
Connect to the swetrix-api-mysql
and swetrix-api-clickhouse
containers. Next, create the analytics database in each service.
MySQL
- host -
127.0.0.1
- port -
3306
- user -
root
- password -
(none)
- database -
analytics
Redis
- host -
127.0.0.1
- port -
6379
- user -
default
- password -
(none)
- database -
0
ClickHouse
- host -
127.0.0.1
- port -
8123
- user -
default
- password -
(none)
- database -
analytics