diff --git a/docker-compose-production.yml b/docker-compose-production.yml index 50c7b1e..4397aed 100644 --- a/docker-compose-production.yml +++ b/docker-compose-production.yml @@ -10,7 +10,7 @@ surveil: environment: PBR_VERSION: "PROD" #SURVEIL_AUTH_BACKEND: "keystone" - #SURVEIL_KEYSTONE_ENDPOINT: "198.72.123.131" + #SURVEIL_KEYSTONE_ENDPOINT: "http://198.72.123.131:5000/v2.0/" shinken: #build: tools/docker/shinken_container/ diff --git a/etc/surveil/api_paste.ini b/etc/surveil/api_paste.ini index 92370be..8ba7fe6 100644 --- a/etc/surveil/api_paste.ini +++ b/etc/surveil/api_paste.ini @@ -20,7 +20,7 @@ paste.filter_factory = keystonemiddleware.auth_token:filter_factory # Host providing the admin Identity API endpoint (string # value) -auth_host=198.72.123.131 +#auth_host=198.72.123.131 # Port of the admin Identity API endpoint (integer value) #auth_port=5000 diff --git a/tools/docker/surveil_container/setup.sh b/tools/docker/surveil_container/setup.sh index 0db9381..433acad 100755 --- a/tools/docker/surveil_container/setup.sh +++ b/tools/docker/surveil_container/setup.sh @@ -7,7 +7,7 @@ function setup_surveil_api { else echo -e "=> Setting up Surveil API for keystone authentication..." sed -i "s/pipeline =.*/pipeline = authtoken api-server/" /etc/surveil/api_paste.ini - sed -i "s/auth_host=.*/auth_host=${SURVEIL_KEYSTONE_ENDPOINT}/" /etc/surveil/api_paste.ini + sed -i "s/auth_host=.*/auth_uri=${SURVEIL_KEYSTONE_ENDPOINT}/" /etc/surveil/api_paste.ini fi }