Skip to content

Commit

Permalink
Sail valkey (#10090)
Browse files Browse the repository at this point in the history
* update sail to add valkey

* add valkey to supported services in installation doc

* Update sail.md

---------

Co-authored-by: Taylor Otwell <[email protected]>
  • Loading branch information
ariaieboy and taylorotwell authored Dec 30, 2024
1 parent cd9999d commit 981c615
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ Finally, you can access the application in your web browser at: http://localhost
<a name="choosing-your-sail-services"></a>
### Choosing Your Sail Services

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`:
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`:

```shell
curl -s "https://laravel.build/example-app?with=mysql,redis" | bash
Expand Down
10 changes: 9 additions & 1 deletion sail.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- [MySQL](#mysql)
- [MongoDB](#mongodb)
- [Redis](#redis)
- [Valkey](#valkey)
- [Meilisearch](#meilisearch)
- [Typesense](#typesense)
- [File Storage](#file-storage)
Expand Down Expand Up @@ -260,10 +261,17 @@ To connect to your application's MongoDB database from your local machine, you m
<a name="redis"></a>
### Redis

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`.
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`.

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.

<a name="valkey"></a>
### Valkey

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`.

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.

<a name="meilisearch"></a>
### Meilisearch

Expand Down

0 comments on commit 981c615

Please sign in to comment.