8000 GitHub - JamesClonk/jcio: Build the complete JCIO server and application setup on DigitalOcean
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Build the complete JCIO server and application setup on DigitalOcean

Notifications You must be signed in to change notification settings

JamesClonk/jcio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jcio

This builds the complete JCIO server and application setup on DigitalOcean

  • 🌐 mars..
  • 🌗 phobos..
  • 🌓 deimos..

Installation

Requirements:

  • bash, tput / ncurses, curl, nc, parallel, git, openssl, openssh, go

Usage

Write the following configuration variables into a file named .env:

	DIGITALOCEAN_TOKEN=my_digitalocean_api_v2_token
	DNSIMPLE_DOMAIN_TOKEN=my_dnsimple_domain_token
	SSH_PUB_KEY_FILE=~/.ssh/id_rsa.pub
	JCIO_DOMAIN=my_domain.tld
	JCIO_USERNAME=my_username
	JCIO_PASSWORD=my_password
	WEBSITE_PRIVATE_REPOSITORY_URL=git@123.456.789.0:/git/website.git
	PRIVATE_REPOSITORY_FRONTEND_FOLDER=frontend
	PRIVATE_REPOSITORY_BACKEND_FOLDER=backend

Run provision.sh

 $ ./provision.sh

Overview

Overview

Design notes

  • mars is where haproxy, etcd-cluster and shipyard are running

  • use rancher instead of shipyard? ❓

  • phobos and deimos themselves register to mars' etcd-cluster

  • phobos and deimos apps/docker containers also register to mars' etcd cluster

  • phobos and deimos app architecture: ->nginx->frontend->backend->rqlite (what about status and ninja? ❓)

  • use docker-swarm for managing phobos-deimos together? ❓

  • mars' haproxy reads from etcd-cluster to know how/where to route/proxy to

  • mars' haproxy load balances to phobos and deimos nginx container

  • mars' shipyard reads from etcd-cluster to know about phobos and deimos docker engines

Useful reads ⚠️

About

Build the complete JCIO server and application setup on DigitalOcean

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0