Difference between revisions of "Service/Social Help"
< Service
Jump to navigation
Jump to search
(→Setup) |
(→Setup) |
||
Line 32: | Line 32: | ||
sudo ./launcher rebuild app | sudo ./launcher rebuild app | ||
− | sudo ./launcher start app --docker-args "-m | + | sudo ./launcher start app --docker-args "-m 5g --cpuset='6-7'" |
Most of the helpful discourse documentation is found [https://meta.discourse.org/t/how-do-i-update-my-docker-image-to-latest/23325 on their discourse forum]. | Most of the helpful discourse documentation is found [https://meta.discourse.org/t/how-do-i-update-my-docker-image-to-latest/23325 on their discourse forum]. | ||
Revision as of 02:22, 5 May 2015
Hostnames & Emails
use.socialhelp.sugarlabs.org (HTTP only, redirects to use-socialhelp on https)
socialhelp AT sugarlabs DOT org
Hosted On
Freedom using docker
All the stuff lives in /srv/socialhelp
It uses the socialhelp
partition which is 20G ext4 on the lvm
Ports
Shfr: 8000
Discourse: 8002 (2222 ssh)
Setup
First do the discourse:
cd /srv/socialhelp/discourse # Generate the container - will take some time sudo ./launcher rebuild app sudo ./launcher start app --docker-args "-m 5g --cpuset='6-7'"
Most of the helpful discourse documentation is found on their discourse forum.
Then the re director:
docker pull samdroid/aslo-shfr
# Get id of old instance docker ps docker kill [id]
docker run -e API_KEY=DISCOURSE_API_KEY -m 500m --cpuset="7" -c 1 -p 8000:8000 --name="SHFR-Beaver" -d samdroid/aslo-shfr:latest
The api key is stored in /srv/socialhelp/discourse_api_key.txt