No description
Find a file
2014-10-27 13:21:35 +00:00
confd Splits haproxy-confd in 2 images 2014-10-27 11:40:36 +00:00
data/server-wide add self-signed cert for default website fix activate-user 2014-10-20 12:08:37 +01:00
deploy testing new deploy command 2014-10-20 11:08:40 +01:00
doc mention need to add a default site 2014-10-20 12:18:02 +01:00
importers Fixes env file 2014-10-27 12:18:43 +00:00
scripts Comment failing command 2014-10-27 13:21:35 +00:00
unit-files Fixes codestyle 2014-10-27 12:40:40 +00:00
.gitignore Adds confd support! 2014-10-10 18:08:14 +01:00
cloud-config Moves and updates cloud-config 2014-10-14 15:01:13 +01:00
LICENSE Initial commit 2014-09-24 14:40:03 +01:00
README.md wording 2014-10-17 15:58:30 +01:00
Vagrantfile debugging vagrant 2014-10-17 15:06:13 +01:00

IndieHosters

This repository contains the confd and bash scripts we use to control our servers. It can run inside Vagrant (see below; FIXME: check whether these instruction currently work) or deploy to a server (FIXME: update those instructions to prescribe less folder structure, explain static https+smtp hosting, and check if they currently work).

Prerequisites to running this code with Vagrant:

Get started:

vagrant up

Wait for the provisioning to finish (~40mins), and go to your browser: https://indiehosters.dev

FIXME: this is outdated: If you want to add another nginx instance apart from indiehosters.dev:

  • For e.g. example.dev, put a cert for it in /data/per-user/example.dev/combined.pem on the host system.
  • Test it with openssl s_server -cert /data/per-user/example.dev/combined.pem -www
vagrant ssh
sudo sh /data/indiehosters/scripts/approve-user.sh example.dev wordpress

Check https://example.dev in your bowser!

Cleaning up

To clean up stuff from previous runs of your VM, you can do:

vagrant ssh
rm -rf /etc/systemd/system/multi-user.wants/*

and then restart the VM with vagrant reload.