Change the webinterface/API TCP port to 80

Change-Id: I03c3556b1d3072f89c6af97d5a757d60e99db8c7
This commit is contained in:
Christian Berendt 2015-04-02 03:14:56 +02:00
parent 3f19cb8460
commit 2a15833bc0
8 changed files with 9 additions and 10 deletions

1
Vagrantfile vendored
View File

@ -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

View File

@ -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')
]

View File

@ -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)

View File

@ -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'

View File

@ -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

View File

@ -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

View File

@ -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',

View File

@ -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')
}