Change the webinterface/API TCP port to 80
Change-Id: I03c3556b1d3072f89c6af97d5a757d60e99db8c7
This commit is contained in:
parent
3f19cb8460
commit
2a15833bc0
|
@ -26,6 +26,5 @@ Vagrant.configure(2) do |config|
|
|||
ansible.playbook = 'ansible/playbook.yaml'
|
||||
end
|
||||
config.vm.network 'forwarded_port', guest: 80, host: 8000
|
||||
config.vm.network 'forwarded_port', guest: 5000, host: 5000
|
||||
config.vm.network 'forwarded_port', guest: 15_672, host: 15_672
|
||||
end
|
||||
|
|
|
@ -168,7 +168,7 @@ CONF.register_cli_opts([client_commands])
|
|||
|
||||
client_cli_opts = [
|
||||
cfg.StrOpt('endpoint-url',
|
||||
default='http://localhost:5000',
|
||||
default='http://localhost',
|
||||
help='API connection URL')
|
||||
]
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ if [[ -e /etc/os-release ]]; then
|
|||
RUN_API=0
|
||||
URL_DATABASE='sqlite:////tmp/sqlite.db'
|
||||
URL_MESSAGING='rabbit://guest:guest@localhost:5672/'
|
||||
URL_API='http://127.0.0.1:5000'
|
||||
URL_API='http://127.0.0.1'
|
||||
while getopts amdi:r: FLAG; do
|
||||
case $FLAG in
|
||||
i)
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
import json
|
||||
import requests
|
||||
|
||||
url = 'http://127.0.0.1:5000/api/fractal'
|
||||
url = 'http://127.0.0.1/api/fractal'
|
||||
headers = {'Content-Type': 'application/json'}
|
||||
|
||||
uuid = '13bf15a8-9f6c-4d59-956f-7d20f7484687'
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#listen_address = 0.0.0.0
|
||||
|
||||
# Bind port. (integer value)
|
||||
#bind_port = 5000
|
||||
#bind_port = 80
|
||||
|
||||
# Database connection URL. (string value)
|
||||
database_url = sqlite:////tmp/sqlite.db
|
||||
|
@ -18,7 +18,7 @@ database_url = sqlite:////tmp/sqlite.db
|
|||
#
|
||||
|
||||
# API connection URL (string value)
|
||||
endpoint_url = http://localhost:5000
|
||||
endpoint_url = http://localhost
|
||||
|
||||
#
|
||||
# From oslo.log
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#listen_address = 0.0.0.0
|
||||
|
||||
# Bind port. (integer value)
|
||||
#bind_port = 5000
|
||||
#bind_port = 80
|
||||
|
||||
# Database connection URL. (string value)
|
||||
#database_url = sqlite:////tmp/sqlite.db
|
||||
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
|
||||
# API connection URL (string value)
|
||||
#endpoint_url = http://localhost:5000
|
||||
#endpoint_url = http://localhost
|
||||
|
||||
#
|
||||
# From oslo.log
|
||||
|
|
|
@ -33,7 +33,7 @@ api_opts = [
|
|||
default='0.0.0.0',
|
||||
help='Listen address.'),
|
||||
cfg.IntOpt('bind-port',
|
||||
default='5000',
|
||||
default='80',
|
||||
help='Bind port.'),
|
||||
cfg.StrOpt('database-url',
|
||||
default='sqlite:////tmp/sqlite.db',
|
||||
|
|
|
@ -41,7 +41,7 @@ glance_store.register_opts(CONF)
|
|||
|
||||
worker_opts = {
|
||||
cfg.StrOpt('endpoint-url',
|
||||
default='http://localhost:5000',
|
||||
default='http://localhost',
|
||||
help='API connection URL')
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue