Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
71 lines (60 loc) · 2.96 KB
/
Copy path.env.example
File metadata and controls
71 lines (60 loc) · 2.96 KB
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
# Copy to .env and edit before running `docker compose up`.
# cp .env.example .env
#
# .env is git-ignored. Never commit real credentials.
# ---- Database ----
# SQL Server requires at least 8 characters with upper case, lower case,
# digits and symbols, or the container will refuse to start.
MSSQL_SA_PASSWORD=ChangeMe_Str0ng!Pass
MSSQL_DATABASE=Taskist
MSSQL_PORT=1433
# ---- Application ----
TASKIST_PORT=8080
ASPNETCORE_ENVIRONMENT=Production
# Public address of this install, used in e-mail links, OAuth callbacks and webhook URLs.
APP_BASE_URL=http://localhost:8080/
# Restrict sign-in cookies to HTTPS. The sample stack serves plain HTTP, so this
# defaults to false. Set to true once Taskist sits behind TLS.
TASKIST_REQUIRE_HTTPS_COOKIES=false
# Set to true when a reverse proxy terminates TLS in front of Taskist, so the app
# sees the original scheme and client IP. Only the network below is trusted.
TASKIST_FORWARDED_HEADERS=false
TASKIST_PROXY_NETWORK=172.16.0.0/12
# Encryption keys (Data Protection) are generated on first start and kept in the
# taskist-keys volume. Back that volume up: losing it makes stored Git tokens,
# webhook secrets and notification channel URLs unreadable.
# ---- Error tracking (optional) ----
# Send unhandled exceptions and logged errors to Sentry. Off by default.
# No cookies, request bodies, query strings, auth headers or e-mail addresses are sent;
# signed-in users are identified by their numeric user ID only.
SENTRY_ENABLED=false
SENTRY_DSN=
# Defaults to ASPNETCORE_ENVIRONMENT when empty.
SENTRY_ENVIRONMENT=
# Share of requests sent as performance traces (0 = errors only, 0.1 = 10%).
SENTRY_TRACES_SAMPLE_RATE=0
# ---- Single sign-on (optional) ----
# Sign in with an OpenID Connect provider (Keycloak, Authentik, Entra ID, Google, Okta...).
# Off by default. Setup guide: docs/sso.md. Register this redirect URI at your provider:
# <APP_BASE_URL>signin-oidc (for example http://localhost:8080/signin-oidc)
SSO_ENABLED=false
# Button text on the login page, e.g. "Keycloak" -> "Sign in with Keycloak".
SSO_DISPLAY_NAME=
SSO_AUTHORITY=
SSO_CLIENT_ID=
SSO_CLIENT_SECRET=
# true: create a Taskist account (Registered role only) on first sign-in. false: only existing users can sign in.
SSO_AUTO_PROVISION=false
# true: hide the password form; only administrators can still sign in with a password, at /Login?local=1.
SSO_DISABLE_LOCAL_LOGIN=false
# ---- Two-factor sign-in ----
# Anyone with a password can turn on authenticator-app codes under My profile -> Security.
# true: administrators who sign in with a password must set it up before using Taskist.
TWO_FACTOR_REQUIRE_FOR_ADMINS=false
# "Don't ask again on this device" lasts this many days; 0 turns the option off.
TWO_FACTOR_REMEMBER_DEVICE_DAYS=30
# ---- Seeding ----
# Reference data (roles, permissions, menus, translations, admin account). Leave true for a usable install.
SEED_DATA=true
# Sample client, project and modules, useful for evaluating Taskist. Not for production.
SEED_DUMMY_DATA=false