From 453e18c4ad87c04f00e85ecd8ca7ee384e52144a Mon Sep 17 00:00:00 2001 From: Seth For Privacy Date: Wed, 1 Mar 2023 02:45:18 -0500 Subject: [PATCH] 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`.) --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e508ad954..e57672d11 100644 --- a/README.md +++ b/README.md @@ -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 \