From a7b516d91c98760ea68fc38c1c7ad6d367175fd2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 25 Oct 2018 12:06:35 -0400 Subject: propellor spin --- joeyconfig.hs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'joeyconfig.hs') diff --git a/joeyconfig.hs b/joeyconfig.hs index 20c53ff7..86b99f80 100644 --- a/joeyconfig.hs +++ b/joeyconfig.hs @@ -27,6 +27,7 @@ import qualified Propellor.Property.Locale as Locale import qualified Propellor.Property.Grub as Grub import qualified Propellor.Property.Borg as Borg import qualified Propellor.Property.Gpg as Gpg +import qualified Propellor.Property.OpenId as OpenId import qualified Propellor.Property.Systemd as Systemd import qualified Propellor.Property.Journald as Journald import qualified Propellor.Property.Fail2Ban as Fail2Ban @@ -309,6 +310,7 @@ kite = host "kite.kitenet.net" $ props & JoeySites.kgbServer & Systemd.nspawned ancientKitenet + & Systemd.nspawned openidProvider & alias "podcatcher.kitenet.net" & JoeySites.podcatcher @@ -487,6 +489,16 @@ oldusenetShellBox = Systemd.debContainer "oldusenet-shellbox" $ props & alias "shell.olduse.net" & JoeySites.oldUseNetShellBox +-- My own openid provider. Uses php, so containerized for security +-- and administrative sanity. +openidProvider :: Systemd.Container +openidProvider = Systemd.debContainer "openid-provider" $ props + & standardContainer (Stable "stretch") + & alias hn + & OpenId.providerFor [User "joey", User "liw"] hn (Just (Port 8086)) + where + hn = "openid.kitenet.net" + type Motd = [String] -- This is my standard system setup. -- cgit v1.2.3