Commit Graph

218 Commits

Author SHA1 Message Date
1b3f2a1e6d Remove mount argument, update bind mount.
That nfs volume mount is not needed now that I figured out how to do
LVM expansion within Proxmox.

Still more to figure out, but for now this is great.
2024-01-08 16:45:32 -06:00
4d42bcae2e Move to using the full calibre docker container, from calibre-web.
This is much much better.
2024-01-08 16:44:40 -06:00
7982871e25 Add calibre to mediaserver stack.
Investigating using calibre-web insteado of the full desktop
app. hopefully this works out well with using readarr as the primary
management interface.
2024-01-01 18:47:40 -06:00
c0a7ec54bf Remov unneeded arg, change IP to priv. 2024-01-01 15:05:10 -06:00
d4953760ed Repoint DNS from old hatchery cname to new highsea.
Also, remove some unneeded services that just didn't work out.
2023-12-31 23:23:56 -06:00
0389805bc3 Python is no longer a valid package! lol. 2023-12-31 23:20:49 -06:00
3f47bfc792 Update original media server play to better match what's needed.
- Split out PMS, hoard services
- Replace inventory data
- Remove unneeded webdav shit
- Update some config directory mounts to be less dumb
- renamed a bunch of traefik stuff
2023-12-31 23:19:32 -06:00
9d05e266d9 Rename deploy file to follow new standard.
Replace mediaserver with highsea.
2023-12-31 23:19:08 -06:00
e45a5b7989 Create TF for highsea deploy. 2023-12-31 23:18:46 -06:00
1521bb5e1e Merge pull request 'Merge pms work into master.' (#2) from pms-docker into master
Reviewed-on: #2
2023-12-29 22:43:07 +00:00
fba60774d6 Update readme. 2023-12-23 16:42:48 -06:00
35f7d0beb7 Move plex declares to their own compose file.
I wanted to have plex handled as part of swarm, but:
a) it doesn't fucking matter becuase I don't intend to have fault
tolerance for plex; i'm not even sure it can run well in a clustered
way

b) its just much much easier to get compose working rather than
swarm. One day maybe i'd like to do that so that its a single stack to
deliver, but meh.
2023-12-23 16:39:36 -06:00
e879095816 Add new packages to install. 2023-12-23 16:39:17 -06:00
2efdae9cf7 Attempting 2 fixes:
- network_mode is explicitly set in this one aritcle i found
- advertise IP apparently can / should be 443 here?
2023-12-23 00:07:41 -06:00
160a633efe Remove dangling file. 2023-12-23 00:07:35 -06:00
e43f616a3a Update vars. 2023-12-23 00:00:57 -06:00
5b0eb9d8a0 Misc tf changes; lock update. 2023-12-23 00:00:44 -06:00
d41e565feb Update old dns, create pms record. 2023-12-23 00:00:11 -06:00
30e9e12781 Remember what public key you want. 2023-12-22 23:59:49 -06:00
fb408d0f2f Rename files, WIP pms deploy.
- Trying to manage ports via TRaefik, not sure if this will work.
- Added packages to be deployed; nfs common is what you need to mount
- nfs shares!
2023-12-22 23:58:50 -06:00
2a1b82bfa9 Copy mediaserver to abjure role as a WIP starting point. 2023-12-22 15:39:39 -06:00
c5259ad963 Remove old home-services file, add new abjure deploy play. 2023-12-22 15:39:20 -06:00
b268a75a20 Add lair host. 2023-12-22 15:39:05 -06:00
b4edd7550e Add Docker to base debian image. 2023-12-22 15:38:54 -06:00
200b21a54c Delete unneeded files. 2023-12-22 15:38:43 -06:00
caa3e349ef High-sea disk to 40gb. 2023-09-24 11:45:04 -05:00
aaab6ce4ef Update .lock file. 2023-09-24 11:37:12 -05:00
b5ea90e664 Configuration.nix pruning, tests.
Pantheon is actually really nice, but unusable for me on nixos because
of how I use ssh agent. KDE provides ksshaskpass as a total
replacement for pinentry, it seems, and Pantheon just uses pinentry.

On nixos, pinentry appears to be Fucked Up, and changing pinentry
binaries to other nixos packages doesn't result in anything besides
more of regular pinentry, which doesn't allow copy paste, which is a
NON STARTER.

FUcking linux.
2023-09-24 11:24:13 -05:00
0fcdb0ac3c Don't run test file by default. 2023-09-24 11:23:40 -05:00
869a1272a6 Use a new template for PM, create provider, high-sea.
- New template had to be based on a CIFS file system to be
referencable across hosts

- high-sea is new VM for *arr hosting.
2023-09-24 11:22:21 -05:00
06615390aa Create new debian_base role.
- To be used as a platform for other deployments.
2023-08-13 09:13:30 -05:00
21a30eabd1 Remove "all" deploy. I have literally never used this. 2023-08-13 09:12:55 -05:00
e253cf9898 Add cluster nodes to ansible inventory, add DNS records. 2023-08-13 09:12:27 -05:00
9d7ba14fdb Create new nix-configs folder for host specific nix configuration. 2023-08-13 09:11:48 -05:00
65fc8af6d8 Remove no longer used nix configs.
Deprecated the nix cluster.
2023-08-13 09:10:04 -05:00
f2bc058e20 Rename to make even easier to track. 2023-08-09 09:10:33 -05:00
ace9806e76 Split out record files to be domain specific, remove jitsi domain.
This doesn't solve my API limit problem but makes editing and viewing
current state in terraform much easier.
2023-08-09 09:08:43 -05:00
f83ec22eb8 Move to using DO:Spaces as state backend.
- Update provider.tf to include details about the backend
- Include AWS PROFILE export in env creds
- Update readme.
2023-08-06 20:41:36 -05:00
9046da30d9 Manage DO domains in Terraform!!
This is a nice step forward, for me. But there are some challenges
here I need to fix.

The first, and biggest one, is that DO rate limits API requests per
minute to ~250. If I'm doing even a small amount of changes and
iterating a lot I will run into issues with that just due to recrods;
each record pull appears to be its OWN CALL. God.

With that in mind, an easy next step seems like splitting the domain
management into their own submodules to prevent unnecessary calls.

For now, i'm just happy to have this managed in code :).
2023-07-30 09:37:11 -05:00
d80830f8d3 Initial terraform commit.
Create 2 different subfolders:
- jowj dot net owns / will own DNS for jowj.net and its subdomains
- Bikeshed owns my provisioning VMs against my proxmox cluster

env_creds.sh is just a simple way to export secrets from `pass` to my
local environment.
2023-07-28 09:59:41 -05:00
8bd2207632 More tf stuff to ignore. 2023-07-28 09:59:00 -05:00
e8cb59a7c8 Ignore tfstate files. 2023-07-28 09:50:48 -05:00
32eaca73d0 Nixos and nixflake shit. Non working changes.
The last of my fucking around with Nix and Flakes prior to killing the
nixos portion of my k8s project. This was just too hard to figure out,
honestly. Docs around nixflakes suck. They appear to be the future! I
believe the hype! But I can't figure out DICK ALL.

Committing, will probably rip out once I'm fully over on PM.
2023-07-28 09:48:30 -05:00
7b38b89acb Fuck with ansible layout.
1. Fuck around with Goof configuration. I think ultimately this never
went anywhere, and I'll probably rip it out, but I forgot to commit it
at the time so i'm including it just to be safe.

2. Home services and home net refactor. Smaller clean ups

3. Removal of wg stuff.
2023-07-28 09:47:04 -05:00
cf8b48f3d4 Add Demiurge, exgod deploy blocks.
I'm not really convinced I'm doing this the right way, but this method
gives me rough feature parity with what I can do with Morph.
2023-02-20 18:24:39 -06:00
da5b7e200e Disable sig detection until I fix deploy's broken shit.
I think I can get this working again with a combo of trusted users +
changing the user arg (not sshuser!!). Will revisit.
2023-02-20 18:23:54 -06:00
e60c91e2b4 Add Demiurge host definitions. 2023-02-20 17:52:23 -06:00
627a9acd97 Move alice/root definitions to configuration.nix for deploy-rs.
Deploy-RS will follow module imports, but seems to do some fucking
DUMB SHIT when it comes to actually building the whole package. I
found that unless I defined the user in the core configuration.nix
file, regardless of other imports, I would lose access to the users
halfway through the deploy.

I'm not totally sure why. I never tried setting the import inside the
configuration.nix, but I /was/ setting it inside the fucking
flake.nix, so who knows.

This way does make some sense, it feels safer to have my deploy user /
root defs inside the core config file so there's never a possibility
of losing access remotely, but still. What a fucking pain. Morph
doesn't have this problem! Morph is good! What are you doing deploy-rs!!
2023-02-20 17:50:15 -06:00
bf539313c1 Add final cluster node. 2023-02-20 15:47:58 -06:00
5ea2e1d028 Update gc. 2023-02-19 12:44:25 -06:00