Changes

192 bytes removed ,  06:51, 18 July 2015
container.yml
Line 16: Line 16:     
It uses the <code>socialhelp</code> partition which is 20G ext4 on the lvm
 
It uses the <code>socialhelp</code> partition which is 20G ext4 on the lvm
  −
=== Ports ===
  −
  −
Shfr: 8000
  −
  −
Discourse: 8002 (2222 ssh)
      
== Setup ==
 
== Setup ==
Line 37: Line 31:  
Then the re director:
 
Then the re director:
   −
  docker pull samdroid/aslo-shfr
+
  container.yml start /home/sam/aslo/socialhelp -d
 
+
The sso also service can be started via container.yml too.  It lives in <code>/home/sam/socialhelp-sso</code>.
# 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 <code>/srv/socialhelp/discourse_api_key.txt</code>