mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
parent
5d594ce91a
commit
75eeb481e9
@ -10,6 +10,7 @@ type Config struct {
|
|||||||
Endpoint *EndpointConfig
|
Endpoint *EndpointConfig
|
||||||
Proxy *ProxyConfig
|
Proxy *ProxyConfig
|
||||||
Email *EmailConfig
|
Email *EmailConfig
|
||||||
|
Registration *RegistrationConfig
|
||||||
Store *store.Config
|
Store *store.Config
|
||||||
Ziti *ZitiConfig
|
Ziti *ZitiConfig
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,20 @@ create table accounts (
|
|||||||
constraint chk_token check(token <> '')
|
constraint chk_token check(token <> '')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- account_requests
|
||||||
|
--
|
||||||
|
create table account_requests (
|
||||||
|
id integer primary key,
|
||||||
|
token string not null unique,
|
||||||
|
email string not null unique,
|
||||||
|
verified boolean not null default(false),
|
||||||
|
source_address string not null,
|
||||||
|
created_at datetime not null default(strftime('%Y-%m-%d %H:%M:%f', 'now')),
|
||||||
|
updated_at datetime not null default(strftime('%Y-%m-%d %H:%M:%f', 'now'))
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- environments
|
-- environments
|
||||||
--
|
--
|
||||||
|
22
etc/ctrl.yml
Normal file
22
etc/ctrl.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# _____ __ ___ | | __
|
||||||
|
# |_ / '__/ _ \| |/ /
|
||||||
|
# / /| | | (_) | <
|
||||||
|
# /___|_| \___/|_|\_\
|
||||||
|
# controller configuration
|
||||||
|
|
||||||
|
endpoint:
|
||||||
|
host: 0.0.0.0
|
||||||
|
port: 18080
|
||||||
|
|
||||||
|
proxy:
|
||||||
|
url_template: "https://{svcName}.zrok.quigley.com:8080/"
|
||||||
|
identities:
|
||||||
|
- ""
|
||||||
|
|
||||||
|
store:
|
||||||
|
path: zrok.db
|
||||||
|
|
||||||
|
ziti:
|
||||||
|
api_endpoint: "https://127.0.0.1:1280"
|
||||||
|
username: admin
|
||||||
|
password: admin
|
Loading…
Reference in New Issue
Block a user