mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-05-22 21:25:31 +00:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user