Skip to content

Instantly share code, notes, and snippets.

@percybolmer
Last active February 2, 2021 19:55
Show Gist options
  • Save percybolmer/af58d04598fd227fb1cc1788f5ee7362 to your computer and use it in GitHub Desktop.
Save percybolmer/af58d04598fd227fb1cc1788f5ee7362 to your computer and use it in GitHub Desktop.
version: "3.0"
services:
redis:
image: "redis:alpine"
# The Command will make redis-server run with our custom Configuration
command: redis-server /usr/local/etc/redis/redis.conf
volumes:
- ./redis/data:/data #Used for persisting data
- ./redis/conf:/usr/local/etc/redis #Used for configuring redis
networks:
- data_sharing
networks:
data_sharing:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment