Skip to content

Commit

Permalink
Merge pull request StackStorm#80 from shusugmt/fix/redis-url
Browse files Browse the repository at this point in the history
Fix redis URL in st2.conf
  • Loading branch information
shusugmt authored Dec 17, 2017
2 parents 2e1c8d5 + d2200dc commit 5c33e13
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ services:
volumes:
- redis-volume:/data
dns_search: .
command: [
"bash", "-c",
'
docker-entrypoint.sh
--requirepass "$$REDIS_PASSWORD"
'
]

volumes:
mongo-volume:
Expand Down
2 changes: 1 addition & 1 deletion images/stackstorm/bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ crudini --set ${ST2_CONF} mistral v2_base_url ${MISTRAL_BASE_URL}
crudini --set ${ST2_CONF} messaging url \
amqp://${RABBITMQ_DEFAULT_USER}:${RABBITMQ_DEFAULT_PASS}@${RABBITMQ_HOST}:${RABBITMQ_PORT}
crudini --set ${ST2_CONF} coordination url \
redis://${REDIS_PASSWORD}@${REDIS_HOST}:${REDIS_PORT}
redis://:${REDIS_PASSWORD}@${REDIS_HOST}:${REDIS_PORT}
crudini --set ${ST2_CONF} database host ${MONGO_HOST}
crudini --set ${ST2_CONF} database port ${MONGO_PORT}
if [ ! -z ${MONGO_DB} ]; then
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 5c33e13

Please sign in to comment.