Update daprdocs/content/en/reference/components-reference/supported-state-stores/setup-etcd.md

Signed-off-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
Mark Fussell 2023-03-29 14:01:03 -07:00 committed by GitHub
parent 55c3724d52
commit 9f3501c477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -66,7 +66,12 @@ services:
- "12379:2379"
command: etcd --listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://0.0.0.0:2379```
```
You can then interact with the server using `localhost:12379`.
Save the docker-compose.yml file and run the following command to start the Etcd server:
`docker-compose up -d`
This starts the Etcd server in the background using the expose the default Etcd port of `2379`. You can then interact with the server using the `etcdctl` command-line client on `localhost:12379`. For example
{{% /codetab %}}