Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1 KB

README.md

File metadata and controls

33 lines (22 loc) · 1 KB

redis

Container running redis.

Usage with docker

  • Start : REDIS_PASSWORD=ChangeIt docker compose up -d
  • Note that redis is exposed on port 6379
  • Test with embedded redis-cli : docker exec -ti redis redis-cli
127.0.0.1:6379> ping
PONG
127.0.0.1:6379> set mykey somevalue
OK
127.0.0.1:6379> get mykey
"somevalue"
127.0.0.1:6379> quit

Resources

Client usage with PHP :