Skip to content
This repository was archived by the owner on Jul 9, 2019. It is now read-only.

Commit 50866ee

Browse files
committed
Doc updates
1 parent 67d3126 commit 50866ee

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

devops_spellbook.sh

+11-9
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,17 @@ ls /etc/letsencrypt/live/$SSL_DOMAIN/
3131
sudo docker build -t mqtt https://github.com/FarmBot/mqtt-gateway.git
3232

3333
# HOW TO RUN THE IMAGE:
34-
sudo docker run -d -e WEB_API_URL=http://YOUR_API_URL_HERE \
35-
-e SSL_DOMAIN=mqtt.thisserver.com
36-
37-
-p 3002:3002 \
38-
-p 1883:1883 \
39-
-p 80:3002 \
40-
-p 443:443 \
41-
-v /etc/letsencrypt/:/etc/letsencrypt/ \
42-
--restart=always mqtt \
34+
sudo docker run -d \
35+
-e WEB_API_URL=http://YOUR_API_URL_HERE \
36+
-e SSL_DOMAIN=YOUR_MQTT_URL_HERE \
37+
38+
-p 3002:3002 \
39+
-p 8883:8883 \
40+
-p 1883:1883 \
41+
-p 80:3002 \
42+
-p 443:443 \
43+
-v /etc/letsencrypt/:/etc/letsencrypt/ \
44+
--restart=always mqtt
4345

4446
# HOW TO RENEW CERTS:
4547
# See `letsencrypt_renewal.sh`

0 commit comments

Comments
 (0)