Fix consul init values when running docker

Fixes CNVS-31618

Test plan:
1. copy the updated config/consul.yml into your config directory
2. make sure api specs pass in docker
(eg docker-compose run --rm web rspec spec/apis/v1/grading_periods_api_spec.rb)

Change-Id: Ib80c01d2770c216aa846362e3ea2efbfde5f5e63
Reviewed-on: https://gerrit.instructure.com/89692
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Shahbaz Javeed <sjaveed@instructure.com>
Tested-by: Jenkins
QA-Review: Derek Bender <djbender@instructure.com>
Product-Review: Neil Gupta <ngupta@instructure.com>
This commit is contained in:
Neil Gupta 2016-09-06 11:45:59 -05:00
parent 13711dc255
commit 9f84275bac
1 changed files with 7 additions and 1 deletions

View File

@ -4,10 +4,13 @@ production:
ssl: true ssl: true
acl_token: "xxxxxxxx-yyyy-zzzz-1111-222222222222" acl_token: "xxxxxxxx-yyyy-zzzz-1111-222222222222"
test: test:
host: some.domain host: consul
port: 8500 port: 8500
ssl: false ssl: false
init_values: init_values:
canvas:
signing-secret: somebigsecret
encryption-secret: somebigsecret
rich-content-service: rich-content-service:
app-host: rce.docker app-host: rce.docker
cdn-host: rce.docker cdn-host: rce.docker
@ -16,6 +19,9 @@ development:
port: 8500 port: 8500
ssl: false ssl: false
init_values: init_values:
canvas:
signing-secret: somebigsecret
encryption-secret: somebigsecret
rich-content-service: rich-content-service:
app-host: rce.docker app-host: rce.docker
cdn-host: rce.docker cdn-host: rce.docker