Update devstack doc

Add a sample local.conf file for freezer developer.

Change-Id: If0f7d8322de39881963af760c0670d5225a1a47d
This commit is contained in:
caihui 2019-11-14 03:26:40 -08:00
parent 0ed03921fa
commit 712e5fe347
1 changed files with 29 additions and 7 deletions

View File

@ -19,20 +19,42 @@ For example::
The plugin makes use of apache2 by default.
To use the uwsgi server set the following environment variable:
To use the uwsgi server set the following environment variable::
export FREEZER_API_SERVER_TYPE=uwsgi
export FREEZER_API_SERVER_TYPE=uwsgi
The default port is 9090. To configure the api to listen on a different port
set the variable FREEZER_API_PORT.
For example to make use of port 19090 use:
For example to make use of port 19090 use::
export FREEZER_API_PORT=19090
export FREEZER_API_PORT=19090
The plugin makes use of elasticsearch as db backend by default.
To use the sqlachemy set the following environment variable:
To use the sqlachemy set the following environment variable::
export FREEZER_BACKEND='sqlalchemy'
export FREEZER_BACKEND='sqlalchemy'
This is a sample local.conf file for freezer developer::
[[local|localrc]]
ADMIN_PASSWORD=stack
DATABASE_PASSWORD=stack
RABBIT_PASSWORD=stack
SERVICE_PASSWORD=$ADMIN_PASSWORD
DEST=/opt/stack
LOGFILE=$DEST/logs/stack.sh.log
# only install keystone/horizon/swift in devstack
# disable_all_services
# enable_service key mysql s-proxy s-object s-container s-account horizon
enable_plugin freezer http://git.openstack.org/openstack/freezer master
enable_plugin freezer-api http://git.openstack.org/openstack/freezer-api.git master
enable_plugin freezer-tempest-plugin http://git.openstack.org/openstack/freezer-tempest-plugin.git master
enable_plugin freezer-web-ui http://git.openstack.org/openstack/freezer-web-ui.git master
export FREEZER_BACKEND='sqlalchemy'
For more information, see:
https://docs.openstack.org/devstack/latest/plugins.html
https://docs.openstack.org/devstack/latest/index.html