Skip to content

Instantly share code, notes, and snippets.

@enesusta
Created May 31, 2020 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enesusta/4c9e6e674404acbd223a248862d8d15b to your computer and use it in GitHub Desktop.
Save enesusta/4c9e6e674404acbd223a248862d8d15b to your computer and use it in GitHub Desktop.
Redis compose file
version: '3.1'
services:
redis:
container_name: redis_container
image: redis
restart: always
command: redis-server --requirepass secret
ports:
- '6379:6379'
volumes:
- my-redis:/data
volumes:
my-redis:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment