Last active
January 30, 2020 17:01
-
-
Save duducp/393ddc3e82e9472361ab8b3aa969db15 to your computer and use it in GitHub Desktop.
Redis Docker Compose
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' | |
services: | |
redis-compose: | |
image: redis | |
command: redis-server --requirepass SUASENHA --appendonly yes | |
hostname: redis | |
ports: | |
- "6379:6379" | |
volumes: | |
- /home/duducp/Redis:/var/lib/postgresql/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment