-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
170 lines (157 loc) · 6.37 KB
/
Copy path.env.example
File metadata and controls
170 lines (157 loc) · 6.37 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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# Copy to `.env` and adjust per environment. Loaded via dotenvy (rustasea-config).
# Environment variables always win over `config/*.toml` (the loader applies the
# process environment last; nested keys use the `__` separator, e.g.
# `SERVICES__POSTMARK__KEY`). Single-underscore vars below are read directly by
# the typed config consumers (AppConfig, MailConfig, ServicesConfig, …).
# ---------------------------------------------------------------------------
# Application (config/app.toml)
# ---------------------------------------------------------------------------
APP_NAME=RustaSea
APP_ENV=local
APP_DEBUG=true
APP_URL=http://localhost:8000
# Generate with `cargo artisan key:generate`; empty means "unset".
APP_KEY=
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database
# ---------------------------------------------------------------------------
# Logging (config/logging.toml)
# ---------------------------------------------------------------------------
LOG_CHANNEL=stack
LOG_LEVEL=debug
# Members of the `stack` channel (comma-separated).
LOG_STACK=daily,stderr
# Retention (days) of the `daily` channel.
LOG_DAILY_DAYS=14
# Sentry error tracking (ADOPT-004). Requires the `sentry` cargo feature on
# `rustasea-logging`/`rustasea-app`. Empty `SENTRY_DSN` disables Sentry entirely
# (no client, no overhead). The DSN is a secret — never commit a real value.
SENTRY_DSN=
# Fraction of transactions sampled for performance tracing (0.0..=1.0).
SENTRY_TRACES_SAMPLE_RATE=0.0
# Deployment environment label reported to Sentry (e.g. local, staging, production).
SENTRY_ENVIRONMENT=local
# ---------------------------------------------------------------------------
# Mail (config/mail.toml)
# ---------------------------------------------------------------------------
MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM_ADDRESS=hello@example.com
MAIL_FROM_NAME=RustaSea
# ---------------------------------------------------------------------------
# Cache (config/cache.toml)
# ---------------------------------------------------------------------------
# MUST contain the hyphenated `-cache-` marker.
CACHE_PREFIX=rustasea-cache-
# ---------------------------------------------------------------------------
# Queue (config/queue.toml)
# ---------------------------------------------------------------------------
QUEUE_CONNECTION=database
# ---------------------------------------------------------------------------
# Session (config/session.toml)
# ---------------------------------------------------------------------------
# Only the `memory` driver is implemented today.
SESSION_DRIVER=memory
SESSION_LIFETIME=120
SESSION_COOKIE=rustasea-session
# `SESSION_SECURE_COOKIE` is accepted as an alias of `SESSION_SECURE` (Laravel
# / starter-kit naming); when both are set, the explicit `SESSION_SECURE` wins.
SESSION_SECURE=false
SESSION_SECURE_COOKIE=false
SESSION_SAME_SITE=lax
SESSION_EXPIRE_ON_CLOSE=false
SESSION_ENCRYPT=false
SESSION_PARTITIONED_COOKIE=false
SESSION_HTTP_ONLY=true
SESSION_CONNECTION=default
SESSION_TABLE=sessions
SESSION_STORE=default
SESSION_PATH=/
SESSION_DOMAIN=
# ---------------------------------------------------------------------------
# Auth (config/auth.toml)
# ---------------------------------------------------------------------------
AUTH_GUARD=web
AUTH_PASSWORD_BROKER=users
AUTH_MODEL=App\Models\User
AUTH_PASSWORD_RESET_TOKEN_TABLE=password_reset_tokens
# Seconds before a sensitive action re-confirms the password (Laravel parity).
AUTH_PASSWORD_TIMEOUT=10800
# ---------------------------------------------------------------------------
# Fortify (config/fortify.toml)
# ---------------------------------------------------------------------------
# Passkeys are inert parity today; the secret falls back to APP_KEY when blank.
PASSKEYS_USER_HANDLE_SECRET=
# ---------------------------------------------------------------------------
# Database (config/database.toml)
# ---------------------------------------------------------------------------
DB_CONNECTION=sqlite
DB_URL=sqlite://database.sqlite?mode=rwc
# Full override honoured by rustasea-orm at runtime (wins over the fields above).
DATABASE_URL=
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=rustasea
DB_USERNAME=rustasea
DB_PASSWORD=secret
# ---------------------------------------------------------------------------
# Redis (config/database.toml + config/cache.toml)
# ---------------------------------------------------------------------------
REDIS_URL=redis://127.0.0.1:6379/0
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_USERNAME=
REDIS_PASSWORD=
REDIS_DB=0
REDIS_CACHE_DB=1
# ---------------------------------------------------------------------------
# MongoDB (config/mongo.toml + config/database.toml)
# ---------------------------------------------------------------------------
MONGODB_URI=mongodb://localhost:27017
MONGODB_DATABASE=rustasea
# ---------------------------------------------------------------------------
# Third-party services (config/services.toml + config/storage.toml)
# NEVER commit real secrets.
# ---------------------------------------------------------------------------
POSTMARK_API_KEY=
RESEND_API_KEY=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
SLACK_BOT_USER_OAUTH_TOKEN=
SLACK_BOT_USER_DEFAULT_CHANNEL=
# ---------------------------------------------------------------------------
# Docker dev stack (docker-compose.yml + docker-compose.dev.yml)
# ---------------------------------------------------------------------------
# Only read by the compose files, not the framework runtime. The app container
# maps these onto the connection/service variables above. Defaults are inline
# in docker-compose.yml, so this section is optional — uncomment to override.
#
# Postgres (the `postgres` service; DATABASE_URL above should point at it).
# DB_CONNECTION=postgres
# DB_HOST=postgres
# DB_PORT=5432
# DB_DATABASE=rustasea
# DB_USERNAME=rustasea
# DB_PASSWORD=secret
#
# Redis (the `redis` service).
# REDIS_URL=redis://redis:6379/0
#
# Mailpit (the `mailpit` service — SMTP capture, UI on :8025).
# MAIL_MAILER=smtp
# MAIL_HOST=mailpit
# MAIL_PORT=1025
#
# MinIO (the `minio` service — S3-compatible; console on :9001). The app reads
# the S3 credentials from the AWS_* variables above when the `s3` disk is used.
# MINIO_ROOT_USER=rustasea
# MINIO_ROOT_PASSWORD=rustasea-secret
# AWS_ENDPOINT=http://minio:9000
# RUST_LOG=debug