Last active
February 2, 2021 19:55
-
-
Save percybolmer/af58d04598fd227fb1cc1788f5ee7362 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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