mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-04 00:30:27 +00:00
add demo env variable
This commit is contained in:
parent
eca071f974
commit
a898b03597
2 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ type Config struct {
|
||||||
Log LoggerConf `yaml:"logger"`
|
Log LoggerConf `yaml:"logger"`
|
||||||
Mailer MailerConf `yaml:"mailer"`
|
Mailer MailerConf `yaml:"mailer"`
|
||||||
Swagger SwaggerConf `yaml:"swagger"`
|
Swagger SwaggerConf `yaml:"swagger"`
|
||||||
|
Demo bool `yaml:"demo"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SwaggerConf struct {
|
type SwaggerConf struct {
|
||||||
|
|
1
fly.toml
1
fly.toml
|
@ -8,6 +8,7 @@ processes = []
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
PORT = "7745"
|
PORT = "7745"
|
||||||
|
HBOX_DEMO = "true"
|
||||||
|
|
||||||
[experimental]
|
[experimental]
|
||||||
allowed_public_ports = []
|
allowed_public_ports = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue