Skip to content

Instantly share code, notes, and snippets.

View nlhuykhang's full-sized avatar

Khang Nguyen-Le nlhuykhang

View GitHub Profile
@Nikkely
Nikkely / docker-compose.yml
Created May 13, 2019 09:12
redis replication on docker-compose
version: '3'
services:
redis:
image: redis:5.0.0
container_name: master
ports:
- "6379:6379"
networks:
- redis-replication
@petrkohut
petrkohut / howto.md
Last active October 20, 2021 08:57
How to have redis-cli and psql installed on machine using Docker

How to install redis-cli and psql client on your machine with Docker

Preparing docker images

We will use minimalistic Linux distribution called Alpine (5MB)

Dockerfile of redis-cli

FROM alpine:latest
RUN apk --update add redis