Merge pull request #858 from NITEMAN/docker

Improve docker info
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-04-30 07:54:44 -04:00
commit 63d0147f69
1 file changed
+9
+9
View File
@@ -218,6 +218,8 @@ Once the app finishes loading, an interactive tutorial takes you by the hand and
# Docker Deployments
Docker container images can be found at https://github.com/users/Superalgos/packages/container/package/superalgos
If you wish to run Superalgos over docker platform, follow these steps.
## 1. Install Docker
@@ -226,6 +228,8 @@ Follow the link to [install docker](https://docs.docker.com/engine/install/).
## 2. Run
You will need to create local storage directories beforehand, by example with `mkdir Data-Storage Log-Files My-Workspaces`
```
docker run \
-d \
@@ -233,11 +237,16 @@ docker run \
--name superalgos \
-p 18041:18041 \
-p 34248:34248 \
-v $(pwd)/Data-Storage:/app/Data-Storage \
-v $(pwd)/Log-Files:/app/Log-Files \
-v $(pwd)/My-Workspaces:/app/My-Workspaces \
ghcr.io/superalgos/superalgos:latest
```
Now you can access to the Superalgos UI at http://127.0.0.1:34248
To see console logs you can use `docker logs superalgos -f`
When you're done just exec `docker kill superalgos`
**Note:** This has not been extensively tested yet. If you run into troubles, please contact us at the [Superalgos Support Group](https://t.me/superalgossupport).