config.ini.tmpl (2338B)
1 [server] 2 hidden_host = 3 port = {{ env "NOMAD_PORT_web" }} 4 bind = 0.0.0.0 5 tls_cert_path = 6 tls_key_path = 7 autocert = false 8 templates_parent_dir = 9 static_parent_dir = 10 pages_parent_dir = 11 keys_parent_dir = 12 hash_seed = 13 gopher_port = 0 14 15 [database] 16 type = mysql 17 filename = 18 username = writefreely 19 password = {{with secret "kv/writefreely"}}{{index .Data.data.db_password}}{{end}} 20 database = writefreely 21 host = mariadb.lan 22 port = 3306 23 tls = false 24 25 [app] 26 site_name = write.in0rdr.ch 27 site_description = 28 host = https://write.in0rdr.ch 29 theme = 30 editor = 31 disable_js = false 32 webfonts = false 33 landing = 34 simple_nav = false 35 wf_modesty = false 36 chorus = false 37 forest = false 38 disable_drafts = false 39 single_user = true 40 open_registration = false 41 open_deletion = false 42 min_username_len = 0 43 max_blogs = 0 44 federation = true 45 public_stats = true 46 monetization = false 47 notes_only = false 48 private = false 49 local_timeline = false 50 user_invites = 51 default_visibility = 52 update_checks = false 53 disable_password_auth = false 54 55 [oauth.slack] 56 client_id = 57 client_secret = 58 team_id = 59 callback_proxy = 60 callback_proxy_api = 61 62 [oauth.writeas] 63 client_id = 64 client_secret = 65 auth_location = 66 token_location = 67 inspect_location = 68 callback_proxy = 69 callback_proxy_api = 70 71 [oauth.gitlab] 72 client_id = 73 client_secret = 74 host = 75 display_name = 76 callback_proxy = 77 callback_proxy_api = 78 79 [oauth.gitea] 80 client_id = 81 client_secret = 82 host = 83 display_name = 84 callback_proxy = 85 callback_proxy_api = 86 87 [oauth.generic] 88 client_id = 89 client_secret = 90 host = 91 display_name = 92 callback_proxy = 93 callback_proxy_api = 94 token_endpoint = 95 inspect_endpoint = 96 auth_endpoint = 97 scope = 98 allow_disconnect = false 99 map_user_id = 100 map_username = 101 map_display_name = 102 map_email =