github.com/mmatczuk/gohan@v0.0.0-20170206152520-30e45d9bdb69/examples/mysql/gohan.yaml (about) 1 ####################################################### 2 # Gohan API Server example configuraion 3 ###################################################### 4 5 # database connection configuraion 6 database: 7 type: "mysql" 8 connection: "root:{{.MYSQL_PASSWORD}}@/gohan" 9 10 # schema path 11 schemas: 12 - "embed://etc/schema/gohan.json" 13 - "embed://etc/extensions/gohan_extension.yaml" 14 - "example_schema.yaml" 15 16 editable_schema: ./example_schema.yaml 17 18 # listen address for gohan 19 address: ":9091" 20 tls: 21 # browsers need to add exception as long as we use self-signed certificates 22 # so lets leave it disabled for now 23 enabled: false 24 key_file: ./key.pem 25 cert_file: ./cert.pem 26 27 # keystone configuraion 28 keystone: 29 use_keystone: true 30 fake: true 31 auth_url: "http://localhost:9091/v2.0" 32 user_name: "admin" 33 tenant_name: "admin" 34 password: "gohan" 35 # CORS (Cross-origin resource sharing (CORS)) configuraion for javascript based client 36 cors: "*" 37 38 etcd: 39 - http://127.0.0.1:2379 40 41 # allowed levels "CRITICAL", "ERROR", "WARNING", "NOTICE", "INFO", "DEBUG", 42 logging: 43 stderr: 44 enabled: true 45 level: INFO 46 file: 47 enabled: true 48 level: INFO 49 filename: ./gohan.log 50 51 ssh: 52 key_file: ./id_rsa