Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Docker for Swetrix Analytics API development

License

Notifications You must be signed in to change notification settings

Swetrix/swetrix-api-docker-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker for Swetrix Analytics API development

Stable versions of Docker Compose and services as of publication date.

Environment variables

.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

Setting up

Connect to the swetrix-api-mysql and swetrix-api-clickhouse containers. Next, create the analytics database in each service.

Usage

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

About

Docker for Swetrix Analytics API development

Resources

License

Stars

Watchers

Forks