Differences

This shows you the differences between two versions of the page.

Link to this comparison view

infrastructure:do2 [2020/02/06 20:16]
infrastructure:do2 [2020/02/06 21:04]
Line 3: Line 3:
 Do2 is a Digital Ocean Droplet (virtual machine) hosted in Singapore that runs some of HSBNE'​s external facing services. Do2 is a Digital Ocean Droplet (virtual machine) hosted in Singapore that runs some of HSBNE'​s external facing services.
  
-It is an ubuntu ​15.10 installation that runs the services in separate Docker containers.+It is an ubuntu ​17.10 installation that runs the services in separate Docker containers.
  
 Currently, it's running the following services/​containers and it is maintained by nog3. Currently, it's running the following services/​containers and it is maintained by nog3.
Line 20: Line 20:
 The SMTP settings are directed to our sendgrid account (hsbne). The SMTP settings are directed to our sendgrid account (hsbne).
  
 +==== Wiki: Dokuwiki (crazy-max/​dokuwiki) ====
  
 +The wiki is Dokuwiki Release 2018-04-22b "​Greebo"​. It is run using the container'​s default instructions at https://​github.com/​crazy-max/​docker-dokuwiki,​ but with env vars VIRTUAL_HOST and LETSENCRYPT_HOST defined as wiki.hsbne.org which allows nginx-proxy and the ssl letsencrypt companion to manage ssl for it.
  
-==== Wiki: Dokuwiki (nog3/​hsbne-dokuwiki) ==== +The data for the wiki is deployed ​in /​var/​hsbnewiki,​ so the container ​must be run from /​var/​hsbnewiki for the data volume to map correctlyAll data is now persisted OUTSIDE the containerOorah!
- +
-The wiki is Dokuwiki Release 2016-06-26b “Elenor of Tsort” ​in a custom docker ​container. It is run with an env variable ​from the docker run command of VIRTUAL_HOST:​wiki.hsbne.org +
- +
-It is automatically built from a customized Dockerfile in https://​github.com/​nog3/​HSBNE-dokuwiki on Docker Hub's automatic building service.+
  
 +Old details:
 The dockerfile installs the oauth plugin but generates the container in such a way that it stores the content of the wiki within the container. There'​s also the bootstrap3 theme and a few other plugins added manually after the fact. The dockerfile installs the oauth plugin but generates the container in such a way that it stores the content of the wiki within the container. There'​s also the bootstrap3 theme and a few other plugins added manually after the fact.
  
Line 50: Line 49:
   * LETSENCRYPT_EMAIL   * LETSENCRYPT_EMAIL
  
-The LETSENCRYPT_HOST variable ​most likely ​needs to be the same as the VIRTUAL_HOST variable and must be publicly reachable domains ​+The LETSENCRYPT_HOST variable needs to be the same as the VIRTUAL_HOST variable and must be publicly reachable domains
 + 
 +==== Trellobot (cuongtransc/​trellobot) ==== 
 +Trellobot exists to push notifications from trello into Discord #​infra-notifications. 
 + 
 +It is a copy of https://​github.com/​cuongtransc/​trellobot stored in /​var/​trellobot,​ built from the folder with a custom config that defines which trello boards to watch and what channel to post into. 
 + 
 +It tracks the following trello events:  
 +  * cardCreated 
 +  * checklistItemMarkedComplete 
 +  * commentAdded 
 +  * cardArchived 
 +  * checklistAddedToCard
  
 +==== snipe-it (snipe/​snipe-it) ====
  
 +This container is an asset management software we're evaluating. Its conf folder is exposed at /​var/​snipe/​conf/​ on the docker host. It has an mysql db container linked which exposes the mysql db files to /​var/​snipe/​mysql for backup.
  
 +This was set up following modified instructions from https://​blog.networkprofile.org/​quick-and-easy-snipe-it-docker-deployment/​
  
  
  • infrastructure/do2
  • Last modified: 4 years ago
  • (external edit)