-
Notifications
You must be signed in to change notification settings - Fork 0
/
anvil.yaml
189 lines (189 loc) · 4.39 KB
/
anvil.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
scheduled_tasks:
- task_name: record_machines
time_spec:
n: 5
every: minute
at: {}
job_id: JMAKXPDN
- task_name: record_users
time_spec:
n: 5
every: minute
at: {}
job_id: BJVVVHAS
- task_name: record_routes
time_spec:
n: 5
every: minute
at: {}
job_id: FAGDAFJR
services:
- source: /runtime/services/tables.yml
client_config: {enable_v2: true}
server_config: {auto_create_missing_columns: false}
- source: /runtime/services/anvil/users.yml
client_config: {allow_signup: false, enable_automatically: true, use_email: true,
confirm_email: false, allow_remember_me: true, remember_me_days: 30}
server_config: {user_table: users}
startup: {type: module, module: Startup}
package_name: Milliner
allow_embedding: false
name: Milliner
runtime_options:
version: 2
client_version: '3'
server_version: python3-full
server_spec: null
server_spec_disabled: {base: python310-standard, requirements: protobuf}
metadata: {title: Milliner, description: A simple UI to control a Headscale implementation.,
logo_img: 'asset:milliner_logo.png'}
startup_form: null
native_deps: {head_html: '<link href="https://fonts.googleapis.com/css2?family=Eczar:wght@400;600&family=Roboto+Condensed:wght@300;400;700&display=swap"
rel="stylesheet" rel="preload" as="font" crossorigin="anonymous">'}
db_schema:
machines:
title: Machines
client: none
server: full
columns:
- name: name
admin_ui: {}
type: string
- name: ipAddr
admin_ui: {}
type: simpleObject
- name: discoKey
admin_ui: {}
type: string
- name: expiry
admin_ui: {}
type: string
- name: registerMethod
admin_ui: {}
type: string
- name: machineKey
admin_ui: {}
type: string
- name: createdAt
admin_ui: {}
type: string
- name: lastSuccessfulUpdate
admin_ui: {}
type: string
- name: nodeKey
admin_ui: {}
type: string
- name: lastSeen
admin_ui: {}
type: string
- name: user
admin_ui: {}
type: simpleObject
- name: id
admin_ui: {}
type: string
- name: givenName
admin_ui: {}
type: string
- name: online
admin_ui: {}
type: bool
- name: invalidTags
admin_ui: {order: 17, width: 200}
type: simpleObject
- name: validTags
admin_ui: {order: 17, width: 200}
type: simpleObject
- name: forcedTags
admin_ui: {order: 17, width: 200}
type: simpleObject
- name: preAuthKey
admin_ui: {order: 17, width: 200}
type: simpleObject
users:
title: Users
client: none
server: full
columns:
- name: email
admin_ui: {width: 200}
type: string
- name: enabled
admin_ui: {width: 200}
type: bool
- name: last_login
admin_ui: {width: 200}
type: datetime
- name: password_hash
admin_ui: {width: 200}
type: string
- name: n_password_failures
admin_ui: {width: 141}
type: number
- name: confirmed_email
admin_ui: {width: 200}
type: bool
- name: signed_up
admin_ui: {width: 200}
type: datetime
- name: remembered_logins
admin_ui: {width: 200}
type: simpleObject
settings:
title: Settings
client: full
server: full
columns:
- name: url
admin_ui: {width: 200}
type: string
- name: api_key
admin_ui: {width: 200}
type: string
- name: last_hs_sync
admin_ui: {width: 200}
type: string
- name: api_key_expiration
admin_ui: {width: 200}
type: string
- name: api_key_creation
admin_ui: {width: 200}
type: string
- name: is_fresh_install
admin_ui: {order: 5, width: 200}
type: bool
hs_users:
title: hs_users
client: none
server: full
columns:
- name: id
admin_ui: {width: 200}
type: string
- name: name
admin_ui: {}
type: string
- name: createdAt
admin_ui: {}
type: string
routes:
title: Routes
client: none
server: full
columns:
- {name: givenName, admin_ui: null, type: string}
- name: id
admin_ui: {width: 200}
type: number
- name: prefix
admin_ui: {}
type: string
- name: machineName
admin_ui: {}
type: string
- name: machineIPs
admin_ui: {}
type: simpleObject
- name: enabled
admin_ui: {}
type: bool