-
-
Notifications
You must be signed in to change notification settings - Fork 133
/
.env
126 lines (94 loc) · 4.59 KB
/
.env
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
# PLEASE DO NOT EDIT THIS FILE; modify '.env.override' file instead
# This is in order to avoid conflict with upstream code when updating to a newer version
# Automatically increased once a new release is out
SHELLHUB_VERSION=v0.15.2-rc.1
# This specification details the network interface to which the gateway container will be bound.
SHELLHUB_BIND_ADDRESS=0.0.0.0
# The HTTP listen port for the ShellHub web-based GUI, API and Reverse SSH tunnel.
# Values: any free port on host
SHELLHUB_HTTP_PORT=80
# The HTTPS listen port for the ShellHub web-based GUI, API and Reverse SSH tunnel.
# Values: any free port on host
SHELLHUB_HTTPS_PORT=443
# The SSH listen port for incoming SSH connections to devices
# Values: any free port on host
SHELLHUB_SSH_PORT=22
# Set this variable to true if you are running a Layer 4 load balancer with proxy protocol in front of ShellHub
SHELLHUB_PROXY=false
# Automatic HTTPS with Let's Encrypt
SHELLHUB_AUTO_SSL=false
# Domain of the server
# NOTICE: Only required if automatic HTTPS is enabled
# Values: a valid domain name
SHELLHUB_DOMAIN=localhost
# Public URL domain
# It is used to generate the public URL for accessing devices via HTTP
SHELLHUB_PUBLIC_URL_DOMAIN=
# Enable geoip (geolocation)
# NOTICE: When true, SHELLHUB_MAXMIND_LICENSE is required
SHELLHUB_GEOIP=false
# GeoLite2 Maxmind license
SHELLHUB_MAXMIND_LICENSE=
# Set worker's schedule
# NOTICE: The format is the same as the Go implementation of https://pkg.go.dev/github.com/robfig/cron
SHELLHUB_WORKER_SCHEDULE=@daily
# Enable billing feature
SHELLHUB_BILLING=false
# Recording session host
SHELLHUB_RECORD_URL=api:8080
# Records retention time in days
SHELLHUB_RECORD_RETENTION=0
# Session record cleanup worker schedule
SHELLHUB_SESSION_RECORD_CLEANUP_SCHEDULE=@daily
# Enable ShellHub Enterprise features
# NOTE: You need a valid ShellHub Enterprise license file
SHELLHUB_ENTERPRISE=false
# ShellHub Enterprise Admin Console username
SHELLHUB_ENTERPRISE_ADMIN_USERNAME=
# ShellHub Enterprise Admin Console password
SHELLHUB_ENTERPRISE_ADMIN_PASSWORD=
# Internal to our cloud service. - don't worry about it
SHELLHUB_CLOUD=false
# Set Go modules proxy cache URL (development only)
#SHELLHUB_GOPROXY=http://localhost:3333
# Set NPM proxy cache URL (development only)
#SHELLHUB_NPM_REGISTRY=http://localhost:4873
# Billing configs
STRIPE_PUBLISHABLE_KEY=
SHELLHUB_BILLING_URL=
# Default log level for ShellHub
# Available levels: https://pkg.go.dev/github.com/sirupsen/logrus#Level
SHELLHUB_LOG_LEVEL="info"
# Set log format for ShellHub.
# Available levels are: "json" and "text". If an invalid value is provided, the "text" value will be used.
SHELLHUB_LOG_FORMAT=text
# Sentry DSN
SHELLHUB_SENTRY_DSN=
# Receive announcements about releases, new features, critical security issues
# and relevant news from ShellHub Community Team.
SHELLHUB_ANNOUNCEMENTS=false
# Asynq configs
# The maximum duration to wait before processing a group of tasks.
SHELLHUB_ASYNQ_GROUP_MAX_DELAY=1
# The grace period has configurable upper bound: you can set a maximum aggregation delay, after which Asynq server
# will aggregate the tasks regardless of the remaining grace period
SHELLHUB_ASNYQ_GROUP_GRACE_PERIOD=1
# The maximum number of tasks that can be aggregated together. If that number is reached, Asynq server will aggregate
# the tasks immediately.
SHELLHUB_ASYNQ_GROUP_MAX_SIZE=500
# Allows SSH to connect with an agent via a public key when the agent version is less than 0.6.0.
# Agents 0.5.x or earlier do not validate the public key request and may panic.
# Please refer to: https://github.com/shellhub-io/shellhub/issues/3453
SHELLHUB_ALLOW_PUBLIC_KEY_ACCESS_BELLOW_0_6_0=false
# Specifies the network name utilized by Docker Compose. As all services (except for the gateway and SSH) persistently operate
# on the port 8080, running multiple instances may result in collision errors.
#
# To illustrate, envision two distinct ShellHub instances denoted as "A" and "B". In instance "A", a gateway operates on port
# 11111, and in instance "B", a gateway operates on port 22222. Since both APIs function on port 8080 and both instances
# share the same network, gateway "A" might inadvertently request data from "B" (and vice versa) when the networks are identical.
SHELLHUB_NETWORK=shellhub_network
# This variable controls the pool size of connections available for Redis cache.
# If not specified or set to 0, it will use the default value defined by the Redis Client.
SHELLHUB_REDIS_CACHE_POOL_SIZE=0
# Specifies the maximum duration in minutes for which a source can be blocked from login attempts. Set it to 0 to disable.
SHELLHUB_MAXIMUM_ACCOUNT_LOCKOUT=60