-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dotenv.example
More file actions
76 lines (65 loc) · 2.2 KB
/
Copy pathcompose.dotenv.example
File metadata and controls
76 lines (65 loc) · 2.2 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
72
73
74
75
76
# Cronmon — self-hosted Docker Compose environment.
#
# Copy this file to `.env` (in the same directory as compose.yml) and edit
# the values below. Variables marked CHANGE ME must be set before first run.
# ---- Application ----------------------------------------------------------
APP_NAME=Cronmon
APP_ENV=production
APP_DEBUG=false
# CHANGE ME — generate with: docker compose run --rm app php artisan key:generate --show
APP_KEY=
# CHANGE ME — the URL users will reach Cronmon on
APP_URL=http://localhost:8080
LOG_CHANNEL=stack
LOG_LEVEL=warning
# Host port the app is published on (matches APP_PORT in compose.yml)
APP_PORT=8080
# ---- Build-time credentials (only needed for `docker compose build`) ------
# Flux Pro is a paid component library; a licence is required to install
# the Composer packages. See https://fluxui.dev/pricing.
FLUX_USERNAME=
FLUX_LICENSE_KEY=
# ---- Database (MariaDB) ---------------------------------------------------
DB_CONNECTION=mysql
DB_HOST=mariadb
DB_PORT=3306
DB_DATABASE=cronmon
DB_USERNAME=cronmon
# CHANGE ME
DB_PASSWORD=
# ---- Redis / queue / cache / sessions -------------------------------------
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=null
CACHE_STORE=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=120
QUEUE_CONNECTION=redis
# ---- Mail -----------------------------------------------------------------
# Default: point at your own SMTP relay.
MAIL_MAILER=smtp
MAIL_HOST=smtp.example.org
MAIL_PORT=587
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_SCHEME=tls
MAIL_FROM_ADDRESS=cronmon@example.org
MAIL_FROM_NAME="${APP_NAME}"
# Demo / kick-the-tyres mode: uncomment the `mailpit` service in compose.yml
# and swap the three lines above for these:
# MAIL_MAILER=smtp
# MAIL_HOST=mailpit
# MAIL_PORT=1025
# Then read alerts at http://localhost:8025.
# ---- SSO (Keycloak via Socialite) -----------------------------------------
# Cronmon expects SSO for sign-in. Set SSO_ENABLED=false only if you intend
# to wire up an alternative auth path yourself.
SSO_ENABLED=true
SSO_AUTOCREATE_NEW_USERS=true
SSO_ALLOW_STUDENTS=false
SSO_ADMINS_ONLY=false
KEYCLOAK_BASE_URL=
KEYCLOAK_REALM=
KEYCLOAK_CLIENT_ID=
KEYCLOAK_CLIENT_SECRET=
KEYCLOAK_REDIRECT_URI="${APP_URL}/auth/keycloak/callback"