aboutsummaryrefslogtreecommitdiffstats
path: root/tools/moon_kubernetes/conf
diff options
context:
space:
mode:
authorRHE <rebirthmonkey@gmail.com>2017-12-26 15:38:11 +0100
committerRHE <rebirthmonkey@gmail.com>2017-12-26 15:38:11 +0100
commit69910cdd22ec3b27f3e1f608b317f9683de1dcf6 (patch)
tree93b38d646d4f42df1eef564ec887dad46356fd46 /tools/moon_kubernetes/conf
parent454e9c5f8664ea99ccea2417b6cc3ffb238cf834 (diff)
moon kubernetes review
Change-Id: I49a62f18ac6ecd06cdbc8e51b4e8ba00971ce6aa Signed-off-by: RHE <rebirthmonkey@gmail.com>
Diffstat (limited to 'tools/moon_kubernetes/conf')
-rw-r--r--tools/moon_kubernetes/conf/moon.conf87
-rw-r--r--tools/moon_kubernetes/conf/ports.conf24
2 files changed, 87 insertions, 24 deletions
diff --git a/tools/moon_kubernetes/conf/moon.conf b/tools/moon_kubernetes/conf/moon.conf
new file mode 100644
index 00000000..a5a40ad2
--- /dev/null
+++ b/tools/moon_kubernetes/conf/moon.conf
@@ -0,0 +1,87 @@
+database:
+ url: mysql+pymysql://moon:p4sswOrd1@db/moon
+ driver: sql
+
+openstack:
+ keystone:
+ url: http://keystone:5000/v3
+ user: admin
+ password: p4ssw0rd
+ domain: default
+ project: admin
+ check_token: false
+ certificate: false
+ external:
+ url: http://keystone:30006/v3
+
+plugins:
+ authz:
+ container: wukongsun/moon_authz:v4.3
+ port: 8081
+ session:
+ container: asteroide/session:latest
+ port: 8082
+
+components:
+ interface:
+ port: 8080
+ bind: 0.0.0.0
+ hostname: interface
+ container: wukongsun/moon_interface:v4.3
+ orchestrator:
+ port: 8083
+ bind: 0.0.0.0
+ hostname: orchestrator
+ container: wukongsun/moon_orchestrator:v4.3
+ external:
+ port: 30003
+ hostname: orchestrator
+ wrapper:
+ port: 8080
+ bind: 0.0.0.0
+ hostname: wrapper
+ container: wukongsun/moon_wrapper:v4.3.1
+ timeout: 5
+ manager:
+ port: 8082
+ bind: 0.0.0.0
+ hostname: manager
+ container: wukongsun/moon_manager:v4.3.1
+ external:
+ port: 30001
+ hostname: manager
+ port_start: 31001
+
+logging:
+ version: 1
+
+ formatters:
+ brief:
+ format: "%(levelname)s %(name)s %(message)-30s"
+ custom:
+ format: "%(asctime)-15s %(levelname)s %(name)s %(message)s"
+
+ handlers:
+ console:
+ class : logging.StreamHandler
+ formatter: brief
+ level : INFO
+ stream : ext://sys.stdout
+ file:
+ class : logging.handlers.RotatingFileHandler
+ formatter: custom
+ level : DEBUG
+ filename: /tmp/moon.log
+ maxBytes: 1048576
+ backupCount: 3
+
+ loggers:
+ moon:
+ level: DEBUG
+ handlers: [console, file]
+ propagate: no
+
+ root:
+ level: ERROR
+ handlers: [console]
+
diff --git a/tools/moon_kubernetes/conf/ports.conf b/tools/moon_kubernetes/conf/ports.conf
deleted file mode 100644
index 487945c0..00000000
--- a/tools/moon_kubernetes/conf/ports.conf
+++ /dev/null
@@ -1,24 +0,0 @@
-manager:
- port: 8082
- kport: 30001
-gui:
- port: 3000
- kport: 30002
-orchestrator:
- port: 8083
- kport: 30003
-
-consul:
- port: 8500
- kport: 30005
-keystone:
- port: 5000
- kport: 30006
-
-wrapper:
- port: 8080
- kport: 30010
-interface:
- port: 8080
-authz:
- port: 8081