Correct minor Docker syntax error (#662)

Noticed that the environment variables for SMP server when using Docker were improperly quoted, so I corrected them.

This will fix an issue with server address being displayed incorrectly in the CLI when viewing init logs.

I also explicitly added the `:latest` tag for the Docker image in the Running example to make it more clear which tag is being run (no tag defaults to `latest`.)
This commit is contained in:
Seth For Privacy
2023-03-01 02:45:18 -05:00
committed by GitHub
parent e4aad7583f
commit 453e18c4ad
+6 -6
View File
@@ -113,15 +113,15 @@ On Linux, you can deploy smp server using Docker. This will download image from
mkdir -p ~/simplex/{config,logs}
```
2. Run your Docker container. You must change **your_ip_or_domain**. `-e pass="password"` is optional variable to password-protect your `smp` server:
2. Run your Docker container. You must change **your_ip_or_domain**. `-e "pass=password"` is optional variable to password-protect your `smp` server:
```sh
docker run -d \
-e addr="your_ip_or_domain" \
-e pass="password" \
-e "addr=your_ip_or_domain" \
-e "pass=password" \
-p 5223:5223 \
-v $HOME/simplex/config:/etc/opt/simplex:z \
-v $HOME/simplex/logs:/var/opt/simplex:z \
simplexchat/simplexmq
simplexchat/simplexmq:latest
```
#### Ubuntu
@@ -154,8 +154,8 @@ On Linux, you can build smp server using Docker.
3. Run your Docker container. You must change **your_ip_or_domain**. `-e pass="password"` is optional variable to password-protect your `smp` server::
```sh
docker run -d \
-e addr="your_ip_or_domain" \
-e pass="password" \
-e "addr=your_ip_or_domain" \
-e "pass=password" \
-p 5223:5223 \
-v $HOME/simplex/config:/etc/opt/simplex:z \
-v $HOME/simplex/logs:/var/opt/simplex:z \