/ config / development.yaml
development.yaml
 1  # [[file:../CONTRIBUTING.org::*\[\[https:/github.com/loco-rs/loco\]\[Loco\]\]][[[https://github.com/loco-rs/loco][Loco]]:1]]
 2  database:
 3      idle_timeout: 500
 4      auto_migrate: true
 5      max_connections: 1
 6      min_connections: 1
 7      connect_timeout: 500
 8      enable_logging: false
 9      dangerously_recreate: false
10      dangerously_truncate: false
11      uri: sqlite://microvisor_development.sqlite?mode=rwc
12  
13  logger:
14      level: info
15      enable: true
16      format: pretty
17      pretty_backtrace: true
18  
19  auth:
20      jwt:
21          expiration: 604800
22          secret: EuMvNwuLnnaAgt3Jx7lw
23  
24  initializers:
25      openapi:
26          redoc:
27              url: /redoc
28              spec_json_url: /api-docs/openapi.json
29              spec_yaml_url: /api-docs/openapi.yaml
30  
31  mailer:
32      smtp:
33          enable: true
34          port: 1025
35          secure: false
36          host: mailpit.localhost
37  
38  server:
39      port: 5150
40      binding: localhost
41      host: http://localhost
42  
43      middlewares:
44          fallback:
45              enable: false
46  
47          static:
48              enable: true
49              must_exist: true
50              precompressed: false
51              fallback: assets/static/404.html
52  
53              folder:
54                  uri: /
55                  path: dist
56  
57  workers:
58      mode: BackgroundAsync
59  
60  settings:
61      firmware:
62          chip: esp32s3
63          ipv4_address: 10.0.0.68
64      tasks:
65          ve_direct:
66              input: rpi5-16:987
67  # [[https://github.com/loco-rs/loco][Loco]]:1 ends here