Skip to content

Commit

Permalink
Expose redis on non standard host port in docker-compose and make red…
Browse files Browse the repository at this point in the history
…is password-protected
  • Loading branch information
neilcook committed Aug 19, 2022
1 parent 561bc89 commit b2554d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ services:
redis:
image: redis:latest
ports:
- 6379:6379
- 6380:6379
volumes:
- ./redis/conf:/usr/local/etc/redis
command: [ "redis-server", "/usr/local/etc/redis/redis.conf" ]

volumes:
esdata:
Expand Down
2 changes: 2 additions & 0 deletions docker/redis/conf/redis.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
user neil on +@all ~* >barfoo
user default on +@all ~* >barfoo

0 comments on commit b2554d8

Please sign in to comment.