Skip to content

Commit 2e7215b

Browse files
committed
Cleanup env
1 parent 4861f8a commit 2e7215b

File tree

6 files changed

+79
-53
lines changed

6 files changed

+79
-53
lines changed

.env.dist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ REDIS_PORT=6379
2626
SCOUT_DRIVER=meilisearch
2727
MEILISEARCH_HOST=
2828
MEILISEARCH_KEY=
29-
MEILISEARCH_API_KEY=
30-
MEILISEARCH_API_KEY_UID=
3129

3230
# Mail
3331
# MAIL_MAILER=
@@ -50,4 +48,4 @@ MAIL_REQUIRE_CONFIRMATION=false
5048
# PADDLE_SANDBOX=
5149
# PADDLE_VENDOR_ID=
5250
# PADDLE_VENDOR_AUTH_CODE=
53-
# PADDLE_AUTH_CODE=
51+
# PADDLE_AUTH_CODE=

.env.testing

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ DB_DATABASE=":memory:"
1111
SCOUT_DRIVER=meilisearch
1212
MEILISEARCH_HOST=http://meilisearch:7700
1313
MEILISEARCH_KEY=masterKeyThatIsReallyReallyLong4Real
14-
MEILISEARCH_API_KEY=
15-
MEILISEARCH_API_KEY_UID=
1614

1715
SPEC_PATH=./docs
1816

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
- You can now set a client certificate for scraping requests
88
- Example value: `/var/www/cocktails/storage/bar-assistant/my-cert.pem`
99

10+
## Changes
11+
- Improved search results for queries with multiple words
12+
13+
## Fixes
14+
- Fixed out of memory errors when exporting large bars
15+
1016
# v5.10.0
1117
## New
1218
- Added `locked_user_cocktails` filter to cocktails endpoint

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,35 @@ Bar Assistant is available as a Docker image on [Docker Hub](https://hub.docker.
6363
- `barassistant/server:v4.4.1` - This will pull the exact version
6464
- `barassistant/server:v4.4` - This will pull the latest minor release
6565
- `barassistant/server:v4` - This will pull the latest major release
66+
- `barassistant/server:dev` - This will pull the latest development version (not recommended for production)
6667

6768
We recommend that you always use the latest major release, as it will always be the most stable version.
6869

70+
## Environment Variables
71+
72+
Here's a list of interesting environment variables you can set to configure Bar Assistant:
73+
74+
|Name|Default|Description|
75+
|----|-------|-----------|
76+
|REDIS_HOST|redis|The Redis host.|
77+
|CACHE_DRIVER|redis|The cache driver to use (`file` or `redis`).|
78+
|SESSION_DRIVER|redis|The session driver to use (`file` or `redis`).|
79+
|ALLOW_REGISTRATION|true|Allow or disallow user registration.|
80+
|MAIL_REQUIRE_CONFIRMATION|false|Require email confirmation for new user registrations.|
81+
|MEILISEARCH_HOST||The Meilisearch host URL.|
82+
|MEILISEARCH_KEY||The Meilisearch API key.|
83+
|METRICS_ENABLED|false|Enable or disable Prometheus metrics endpoint.|
84+
|METRICS_ALLOWED_IPS||Comma-separated list of IPs allowed to access metrics endpoint.|
85+
|ENABLE_PASSWORD_LOGIN|true|Enable or disable password login.|
86+
|SCRAPING_HTTP_PROXY||HTTP proxy URL for web scraping.|
87+
|SCRAPING_CLIENT_CERT||Path to client certificate for web scraping.|
88+
|MAIL_MAILER||The mailer to use.|
89+
|MAIL_HOST||The mail host.|
90+
|MAIL_PORT||The mail port.|
91+
|MAIL_ENCRYPTION||The mail encryption method.|
92+
|MAIL_USERNAME||The mail username.|
93+
|MAIL_PASSWORD||The mail password.|
94+
6995
## Managed instance
7096

7197
Bar Assistant will always be open-source and MIT-licensed, but if you want to support the project or don't want to self-host, you can try our official managed instance. Visit [barassistant.app](https://barassistant.app/) for more information about our cloud offering.

composer.lock

Lines changed: 46 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/scout.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@
132132
'meilisearch' => [
133133
'host' => env('MEILISEARCH_HOST', 'http://localhost:7700'),
134134
'key' => env('MEILISEARCH_KEY', null),
135-
// 'api_key' => env('MEILISEARCH_API_KEY', null),
136-
// 'api_key_uid' => env('MEILISEARCH_API_KEY_UID', null),
137135
'index-settings' => [
138136
\Kami\Cocktail\Models\Cocktail::class => [
139137
'filterableAttributes' => ['tags', 'bar_id'],

0 commit comments

Comments
 (0)