Skip to content

Commit

Permalink
Enable authentication in redis service
Browse files Browse the repository at this point in the history
  • Loading branch information
shusugmt committed Nov 23, 2017
1 parent b9f46e9 commit d2200dc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ services:
volumes:
- redis-volume:/data
dns_search: .
command: [
"bash", "-c",
'
docker-entrypoint.sh
--requirepass "$$REDIS_PASSWORD"
'
]

volumes:
mongo-volume:
Expand Down
7 changes: 7 additions & 0 deletions runtime/compose-1ppc/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@ services:
volumes:
- redis-volume:/data
dns_search: .
command: [
"bash", "-c",
'
docker-entrypoint.sh
--requirepass "$$REDIS_PASSWORD"
'
]

volumes:
mongo-volume:
Expand Down

0 comments on commit d2200dc

Please sign in to comment.