mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
parent
5d594ce91a
commit
75eeb481e9
@ -7,11 +7,12 @@ import (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
Endpoint *EndpointConfig
|
||||
Proxy *ProxyConfig
|
||||
Email *EmailConfig
|
||||
Store *store.Config
|
||||
Ziti *ZitiConfig
|
||||
Endpoint *EndpointConfig
|
||||
Proxy *ProxyConfig
|
||||
Email *EmailConfig
|
||||
Registration *RegistrationConfig
|
||||
Store *store.Config
|
||||
Ziti *ZitiConfig
|
||||
}
|
||||
|
||||
type EndpointConfig struct {
|
||||
|
@ -16,6 +16,20 @@ create table accounts (
|
||||
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
|
||||
--
|
||||
|
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