github.com/mmatczuk/gohan@v0.0.0-20170206152520-30e45d9bdb69/examples/cron_example/gohan.yaml (about) 1 ####################################################### 2 # Gohan API Server example configuraion 3 ###################################################### 4 5 database: 6 type: "sqlite3" 7 connection: "./gohan.db" 8 schemas: 9 - "embed://etc/schema/gohan.json" 10 - "embed://etc/extensions/gohan_extension.yaml" 11 - "./example_schema.yaml" 12 13 editable_schema: ./example_schema.yaml 14 15 16 address: ":9091" 17 18 # keystone configuraion 19 keystone: 20 use_keystone: true 21 fake: true 22 auth_url: "http://localhost:9091/v2.0" 23 user_name: "admin" 24 tenant_name: "admin" 25 password: "gohan" 26 27 cors: "*" 28 29 logging: 30 stderr: 31 enabled: true 32 level: DEBUG 33 modules: 34 - name: gohanscript 35 level: DEBUG 36 file: 37 enabled: true 38 level: INFO 39 filename: ./gohan.log 40 41 cron: 42 - path: cron://cron_job_sample 43 timing: "*/5 * * * * *" 44 45 extension: 46 type: gohanscript 47 48 etcd: 49 - http://127.0.0.1:2379 50 51 webui_config: 52 enabled: true 53 tls: false