summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjfederico <jesus@123it.ca>2020-02-13 16:38:12 -0500
committerjfederico <jesus@123it.ca>2020-02-13 16:38:12 -0500
commitfefe0b489d6235482265456805c1312e079661ad (patch)
tree3f9432974bea7c0419cc0860087435ea8ae36e27 /README.md
parent78776dc63f26a5761ebfa3009be1cf52b6cbb069 (diff)
downloadscalelite-run-itzks-fefe0b489d6235482265456805c1312e079661ad.tar.gz
scalelite-run-itzks-fefe0b489d6235482265456805c1312e079661ad.tar.bz2
scalelite-run-itzks-fefe0b489d6235482265456805c1312e079661ad.zip
Added steps for building custom image
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4a4d00c..055bc86 100644
--- a/README.md
+++ b/README.md
@@ -170,3 +170,23 @@ bundle exec rake servers:enable["SERVER_ID_AS SHOWN"]
```
For more information on what rake commands can be executed, see scalelite documentation.
+
+### Special cases
+
+#### Build your own image
+
+If you don;t have access to the DockerHub registry, you can always build your own image. Either by running `docker build` where scalelite code is placed, or using the build script provided in this repo at `scripts/build.sh`. The only advantage of using the script is that the last commit is included as the build number.
+
+```
+cd <YOUR ROOT>/scalelite
+docker build -t blindsidenetwks/scalelite:latest .
+```
+
+or
+
+```
+cd <YOUR ROOT>/scalelite
+../scalelite-run/scripts/build.sh blindsidenetwks/scalelite latest
+```
+
+Keep in mind that the docker-compose.yml script makes use of some other configuration files that are mounted inside the containers. If any modification to nginx is needed it has to be done on the sites.template file. Also, whatever name is chosen for the image should match the one used in docker-compose.yml.