-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.dist
156 lines (125 loc) · 4.79 KB
/
.env.dist
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
# Wireguard interface backend
# Default: linux
WG_UI_BACKEND=linux
# The main database file path
# Stores all users and wireguard servers configuration
WG_UI_BOLT_DB_PATH=/var/lib/wg-ui/data.db
# The timeout in which file system lock should be acquired
# Default: 5s
WG_UI_BOLT_TIMEOUT=5s
# The host on which web server should be listening on
# Default: 0.0.0.0
WG_UI_HTTP_SERVER_HOST=0.0.0.0
# The port on which web server should be listening on
# Default: 4580
WG_UI_HTTP_SERVER_PORT=4580
# The GraphQL APQ Cache Automatic persisted queries cache support
# https://www.apollographql.com/docs/apollo-server/performance/apq/
# Default: false
WG_UI_HTTP_SERVER_APQ_CACHE_ENABLED=false
# The GraphQL Tracing support
# https://github.com/apollographql/apollo-tracing/
# Default: false
WG_UI_HTTP_SERVER_TRACING_ENABLED=false
# The embedded frontend
# https://github.com/desislavsd/wireguard-manager
# Default: true
WG_UI_HTTP_SERVER_FRONTEND_ENABLED=true
# The GraphiQL Playground UI support
# https://github.com/graphql/graphiql
# Default: true
WG_UI_HTTP_SERVER_GRAPHIQL_ENABLED=true
# The GraphQL GraphiQL UI Endpoint
# https://github.com/graphql/graphiql
# Default: /playground
WG_UI_HTTP_SERVER_GRAPHIQL_ENDPOINT=/graphiql
# The GraphQL GraphiQL UI Version
# default - the default gqlgen built-in version of GraphiQL
# sse - SSE enabled GraphiQL Version
# Default: default
WG_UI_HTTP_SERVER_GRAPHIQL_VERSION=default
# The GraphQL Apollo Sandbox Explorer UI Support
# https://github.com/apollographql/embeddable-explorer
# Default: false
WG_UI_HTTP_SERVER_SANDBOX_EXPLORER_ENABLED=false
# The GraphQL Apollo Sandbox Explorer UI Endpoint
# https://github.com/apollographql/embeddable-explorer
# Default: /sandbox
WG_UI_HTTP_SERVER_SANDBOX_EXPLORER_ENDPOINT=/sandbox
# The GraphQL Playground UI support
# https://github.com/graphql/graphql-playground
# Default: false
WG_UI_HTTP_SERVER_PLAYGROUND_ENABLED=false
# The GraphQL Playground UI endpoint
# https://github.com/graphql/graphql-playground
# Default: /playground
WG_UI_HTTP_SERVER_PLAYGROUND_ENDPOINT=/playground
# The Altair GraphQL Playground support
# https://github.com/altair-graphql/altair
# Default: false
WG_UI_HTTP_SERVER_ALTAIR_ENABLED=false
# The Altair GraphQL Playground endpoint
# https://github.com/altair-graphql/altair
# Default: /playground
WG_UI_HTTP_SERVER_ALTAIR_ENDPOINT=/altair
# The GraphQL Voyager UI support
# https://github.com/IvanGoncharov/graphql-voyager
# Default: false
WG_UI_HTTP_SERVER_VOYAGER_ENABLED=false
# The GraphQL Voyager UI endpoint
# https://github.com/IvanGoncharov/graphql-voyager
# Default: /voyager
WG_UI_HTTP_SERVER_VOYAGER_ENDPOINT=/voyager
# The Go debug server support
# https://pkg.go.dev/net/http/pprof
# Default: false
WG_UI_DEBUG_SERVER_ENABLED=false
# The Go debug server listening host
# https://pkg.go.dev/net/http/pprof
# Default: 127.0.0.1
WG_UI_DEBUG_SERVER_HOST=127.0.0.1
# The Go debug server listening port
# https://pkg.go.dev/net/http/pprof
# Default: 4560
WG_UI_DEBUG_SERVER_PORT=4560
# The initial admin user email address
# Used to login, created only once on first start
# Default: admin@example.com
WG_UI_INITIAL_EMAIL=admin@example.com
# The initial admin user password
# If random password is chosen - the generated password will be printed only once, please remember it you won't see it again!
# Default: random
WG_UI_INITIAL_PASSWORD=random
# Automatically updates server's stats from wireguard device
# This also will publish subscription events to anyone listening
# Can be disabled with value of 0s
# Default: 30s
WG_UI_AUTOMATIC_STATS_UPDATE_INTERVAL=30s
# Automatically updates server's stats from wireguard device but only when there is at least 1 subscriber
# Default: false
WG_UI_AUTOMATIC_STATS_UPDATE_ONLY_WITH_SUBSCRIBERS=false
# CORS allowed origins
# Multiple origins are supported separated by comma
# Example: http://localhost:3000,https://wg-ui-abcdf--*.web.app,https://wg-ui.your-domain.com
# Default: *
WG_UI_CORS_ALLOWED_ORIGINS=*
# CORS allow credentials
# Indicates whether the request can include user credentials like cookies, HTTP authentication or client side SSL certificates.
# Default: true
WG_UI_CORS_ALLOW_CREDENTIALS=true
# CORS allow private network
# Indicates whether to accept cross-origin requests over a private network.
# Default: false
WG_UI_CORS_ALLOW_PRIVATE_NETWORK=false
# Subscription allowed origins
# Multiple origins are supported separated by comma
# Example: localhost:3000,sandbox.embed.apollographql.com,wg-ui.your-domain.com
# Default: *
WG_UI_SUBSCRIPTION_ALLOWED_ORIGINS=*
# The JWT signing secret
# Note: Change this to something large and secure, this value is used to sign the jwt tokens!
WG_UI_JWT_SECRET=Any_secret_base64_value_here
# The JWT session duration
# The duration for which the JWT tokens issued by signIn mutation will be valid for
# Default: 8h
WG_UI_JWT_DURATION=8h