Skip to content

Commit 981c615

Browse files
Sail valkey (laravel#10090)
* update sail to add valkey * add valkey to supported services in installation doc * Update sail.md --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent cd9999d commit 981c615

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Finally, you can access the application in your web browser at: http://localhost
340340
<a name="choosing-your-sail-services"></a>
341341
### Choosing Your Sail Services
342342

343-
When creating a new Laravel application via Sail, you may use the `with` query string variable to choose which services should be configured in your new application's `docker-compose.yml` file. Available services include `mysql`, `pgsql`, `mariadb`, `redis`, `memcached`, `meilisearch`, `typesense`, `minio`, `selenium`, and `mailpit`:
343+
When creating a new Laravel application via Sail, you may use the `with` query string variable to choose which services should be configured in your new application's `docker-compose.yml` file. Available services include `mysql`, `pgsql`, `mariadb`, `redis`, `valkey`, `memcached`, `meilisearch`, `typesense`, `minio`, `selenium`, and `mailpit`:
344344

345345
```shell
346346
curl -s "https://laravel.build/example-app?with=mysql,redis" | bash

sail.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- [MySQL](#mysql)
1616
- [MongoDB](#mongodb)
1717
- [Redis](#redis)
18+
- [Valkey](#valkey)
1819
- [Meilisearch](#meilisearch)
1920
- [Typesense](#typesense)
2021
- [File Storage](#file-storage)
@@ -260,10 +261,17 @@ To connect to your application's MongoDB database from your local machine, you m
260261
<a name="redis"></a>
261262
### Redis
262263

263-
Your application's `docker-compose.yml` file also contains an entry for a [Redis](https://redis.io) container. This container uses a [Docker volume](https://docs.docker.com/storage/volumes/) so that the data stored in your Redis data is persisted even when stopping and restarting your containers. Once you have started your containers, you may connect to the Redis instance within your application by setting your `REDIS_HOST` environment variable within your application's `.env` file to `redis`.
264+
Your application's `docker-compose.yml` file also contains an entry for a [Redis](https://redis.io) container. This container uses a [Docker volume](https://docs.docker.com/storage/volumes/) so that the data stored in your Redis instance is persisted even when stopping and restarting your containers. Once you have started your containers, you may connect to the Redis instance within your application by setting your `REDIS_HOST` environment variable within your application's `.env` file to `redis`.
264265

265266
To connect to your application's Redis database from your local machine, you may use a graphical database management application such as [TablePlus](https://tableplus.com). By default, the Redis database is accessible at `localhost` port 6379.
266267

268+
<a name="valkey"></a>
269+
### Valkey
270+
271+
If you choose to install Valkey service when installing Sail, your application's `docker-compose.yml` file will contain an entry for [Valkey](https://valkey.io/). This container uses a [Docker volume](https://docs.docker.com/storage/volumes/) so that the data stored in your Valkey instance is persisted even when stopping and restarting your containers. You can connect to this container in you application by setting your `REDIS_HOST` environment variable within your application's `.env` file to `valkey`.
272+
273+
To connect to your application's Valkey database from your local machine, you may use a graphical database management application such as [TablePlus](https://tableplus.com). By default, the Valkey database is accessible at `localhost` port 6379.
274+
267275
<a name="meilisearch"></a>
268276
### Meilisearch
269277

0 commit comments

Comments
 (0)