Infrastructure code for
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Quentin 9b7fd2fc0a Upgrade containers 3 days ago
administratif Ajouter des noms de famille des présidents et secrétaires de séance 4 months ago
ansible Add router in the list 1 week ago
bootstrap Initial commit 11 months ago
consul landmark for platoo bdd pw 2 weeks ago
docker Add upgrade documentation 3 days ago
man Add info about patching Stolon config to README 3 months ago
nomad Upgrade containers 3 days ago
.gitignore Rework jitsi-xmpp to support cert gen 2 months ago
.gitmodules Initial commit 11 months ago
LICENSE Initial commit 11 months ago Initial commit 11 months ago

Many things are still missing here, including a proper documentation. Please stay nice, it is a volunter project. Feel free to open pull/merge requests to improve it. Thanks.

Our abstraction stack

We try to build a generic abstraction stack between our different resources (CPU, RAM, disk, etc.) and our services (Chat, Storage, etc.):

  • ansible (physical node conf)
  • nomad (schedule containers)
  • consul (distributed key value store / lock / service discovery)
  • glusterfs (file storage)
  • stolon + postgresql (distributed relational database)
  • docker (container tool)
  • bottin (LDAP server, auth)

Some services we provide:

  • Chat (Matrix/Riot)
  • Email (Postfix/Dovecot/Sogo)
  • Storage (Seafile)

As a generic abstraction is provided, deploying new services should be easy.

Start hacking

Clone the repository

git clone
git submodule init
git submodule update

Deploying/Updating new services is done from your machine

The following instructions are provided for ops that already have access to the servers.

Deploy Nomad on your machine:

export NOMAD_VER=0.9.1
unzip nomad_${NOMAD_VER}
sudo mv nomad /usr/local/bin
rm nomad_${NOMAD_VER}

Deploy Consul on your machine:

export CONSUL_VER=1.5.1
unzip consul_${CONSUL_VER}
sudo mv consul /usr/local/bin
rm consul_${CONSUL_VER}

Create an alias (and put it in your .bashrc) to bind APIs on your machine:

alias bind_df="ssh \
  -p110 \
  -N \
  -L 4646: \
  -L 8500: \
  -L \
  <a server from the cluster>"

and run: