Tidis Docker Compose

Docker compose for tidis
Alternatives To Tidis Docker Compose
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Compose29,0001,10112120 hours ago144May 10, 2021247apache-2.0Go
Define and run multi-container applications with Docker
Portainer25,0191a day ago78April 21, 20211,091zlibGo
Making Docker and Kubernetes management easy.
Awesome Compose22,256
3 days ago7April 23, 202199cc0-1.0HTML
Awesome Docker Compose samples
Docker Elk14,858
15 hours ago9mitShell
The Elastic stack (ELK) powered by Docker and Compose.
4 days ago34mitDockerfile
Pre-Built Vulnerable Environments Based on Docker-Compose
12 days ago166mitDockerfile
Full PHP development environment for Docker.
22 days ago137apache-2.0PHP
This is a collection of tutorials for learning how to use Docker with various tools. Contributions welcome.
Colima10,42622 days ago34July 01, 2022148mitGo
Container runtimes on macOS (and Linux) with minimal setup
Kompose8,34313a day ago64March 24, 202225apache-2.0Go
Convert Compose to Kubernetes
Testcontainers Java6,93843139614 hours ago79June 29, 2022497mitJava
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
Alternatives To Tidis Docker Compose
Select To Compare

Alternative Project Comparisons

Run Tidis in one command using docker-compose

  1. Clone tidis-docker-compose repo
~ git clone https://github.com/yongman/tidis-docker-compose.git
  1. Run
~ cd tidis-docker-compose/

~ docker-compose up -d
Creating network "docker_default" with the default driver
Creating docker_pd_1 ... done
Creating docker_tikv_1 ... done
Creating docker_tidis_1 ... done
  1. Stop and delete
~ docker-compose down

This compose file is just use one pd and one tikv instance for test, not for production

  1. Run for dev

Replace YOUR_CODE_PATH to tidis source code directory path

~ cd tidis-docker-compose
~ TIDIS_DIR_SRC=YOUR_CODE_PATH docker-compose -f docker-compose-dev.yml up -d
Creating network "tidis-docker-compose_default" with the default driver
Creating tidis-docker-compose_pd_1 ... done
Creating tidis-docker-compose_tikv_1 ... done
Creating tidis-docker-compose_tidis_1 ... done
~ docker exec -it tidis-docker-compose_tidis_1 /bin/bash
[email protected]:/go# cd /go/src/github.com/yongman/tidis/
[email protected]:/go/src/github.com/yongman/tidis# make
go build -o bin/tidis-server cmd/server/*
[email protected]:/go/src/github.com/yongman/tidis# ./bin/tidis-server -conf ./config.toml -backend pd:2379

Then you can connect localhost:5379 by redis client.

After finish dev, run following command will destroy all docker containers.

~ docker-compose -f docker-compose-dev.yml down 
WARNING: The TIDIS_DIR_SRC variable is not set. Defaulting to a blank string.
Stopping tidis-docker-compose_tidis_1 ... done
Stopping tidis-docker-compose_tikv_1  ... done
Stopping tidis-docker-compose_pd_1    ... done
Removing tidis-docker-compose_tidis_1 ... done
Removing tidis-docker-compose_tikv_1  ... done
Removing tidis-docker-compose_pd_1    ... done
Removing network tidis-docker-compose_default
Popular Docker Projects
Popular Docker Compose Projects
Popular Virtualization Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Docker Compose
Redis Client