aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-09-13 11:23:49 +0200
committerasteroide <thomas.duval@orange.com>2017-09-13 11:23:49 +0200
commit57ab5ed9fb4c7f32f64ac658e5aa8f0df1fdf454 (patch)
treefa90d5956cf80d088a5774ca523c66f472d04593 /moonv4
parent0c1c0448a9b418ca5dfca53037c8e48e4896a81a (diff)
Move configuration file from Orchestrator.
Change-Id: Ib05531b1556acf97f1baa6437801634aded9bfe3
Diffstat (limited to 'moonv4')
-rw-r--r--moonv4/conf/moon.conf86
1 files changed, 86 insertions, 0 deletions
diff --git a/moonv4/conf/moon.conf b/moonv4/conf/moon.conf
new file mode 100644
index 00000000..27213f04
--- /dev/null
+++ b/moonv4/conf/moon.conf
@@ -0,0 +1,86 @@
+database:
+ url: mysql+pymysql://moon:p4sswOrd1@db/moon
+ driver: sql
+
+messenger:
+ url: rabbit://moon:p4sswOrd1@messenger:5672/moon
+
+docker:
+ url: tcp://172.88.88.1:2376
+ network: moon
+
+slave:
+ name:
+ master:
+ url:
+ login:
+ password:
+
+openstack:
+ keystone:
+ url: http://keystone:5000/v3
+ user: admin
+ password: p4ssw0rd
+ domain: default
+ project: admin
+ check_token: false
+ certificate: false
+
+plugins:
+ authz:
+ container: wukongsun/moon_authz:v4.1
+ session:
+ container: asteroide/session:latest
+
+components:
+ interface:
+ port: 8081
+ bind: 0.0.0.0
+ hostname: interface
+ container: wukongsun/moon_interface:v4.1
+ wrapper:
+ port: 8080
+ bind: 0.0.0.0
+ hostname: wrapper
+ container: wukongsun/moon_wrapper:v4.1
+ timeout: 5
+ manager:
+ port: 8082
+ bind: 0.0.0.0
+ hostname: manager
+ container: wukongsun/moon_manager:v4.1
+ port_start: 38001
+
+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]
+