No description
Find a file
2014-10-17 13:13:06 +01:00
deploy move deploy/ and doc/ folders from ../dev-scripts here 2014-10-17 13:02:52 +01:00
doc move deploy/ and doc/ folders from ../dev-scripts here 2014-10-17 13:02:52 +01:00
importers remove wordpress and mysql images 2014-10-17 12:58:51 +01:00
scripts pull indiehosters/postfix-forwarder image 2014-10-17 12:59:25 +01:00
unit-files remove wordpress and mysql images 2014-10-17 12:58:51 +01: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 add a few FIXME messages to the README 2014-10-17 13:13:06 +01:00
Vagrantfile %s/infrastructure/indiehosters 2014-10-17 12:47:57 +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 work on this project using 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.