Commit Graph
88 Commits
Author SHA1 Message Date
othrayte 525e0eaf9f Bind consul on all interfaces to fix issues with nodes finding each other. Also expose traefik to make diagnostics of issues easier. 2025-05-27 23:23:25 +10:00
othrayte 234c6d075c Improve use of postgres from terraform 2025-05-27 23:22:08 +10:00
othrayte e52c2c1fc5 Ensure that host volumes are only on the required nodes 2025-05-25 23:35:36 +10:00
othrayte 8b0b7c1e73 Fix some networking issues and setup a second nomad host 2025-05-25 22:40:41 +10:00
othrayte 376c278c11 Cleanup credentials and db use 2025-05-25 18:01:47 +10:00
othrayte ffbd240453 Fix pgbackup cron to only run once per day 2025-05-23 01:01:32 +10:00
othrayte 8e586b3352 Move each service to it's own tf file 2025-05-23 00:43:59 +10:00
othrayte c1aeb11354 Use tailscale to allow ssh access to gitea 2025-05-23 00:15:04 +10:00
othrayte 3f70bc62d3 Disable tailscale on the nomad host 2025-05-22 23:25:35 +10:00
othrayte f7c4defe7d Add gitea 2025-05-19 22:45:33 +10:00
othrayte 3ab392b50b Move nomad var secrets to secrets.enc.json 2025-05-18 23:44:24 +10:00
othrayte d2279028be Remove the hello world services initially added for testing 2025-05-18 21:53:44 +10:00
othrayte 9cdd529633 Format terraform and nomad files 2025-05-18 21:50:04 +10:00
othrayte 837cfdae68 Remove comment about terraform access to nomad
it was orignally only working over tailscale, but it turned out it was just being blocked by the host firewall, that tailscale was bypassing. This was fixed back in the initial commit using nix by setting networking.firewall.allowedTCPPorts to include 4646.
2025-05-18 21:50:04 +10:00
othrayte 021d22048d Cleanup terraform files
by moving core infra into it's own file
2025-05-18 21:50:04 +10:00
othrayte b10df52f1c Allow login sessions to last longer than 1hr 2025-05-18 20:45:26 +10:00
othrayte 08a2e458b2 Initial work on db backups 2025-05-18 20:18:48 +10:00
othrayte c6925362a6 Add initial PostgreSQL and pgAdmin services with Nomad configuration 2025-05-16 22:43:45 +10:00
othrayte 805636f44c Properly persistent configs 2025-05-15 19:06:09 +10:00
othrayte b13a52233a Cleanup volume handling and fix write access 2025-05-15 19:06:09 +10:00
othrayte 66306e2428 Change from nomad_volume to nomad_csi_volume_registration
as the later is deprecated
2025-05-15 19:06:09 +10:00
othrayte 1df01e6c76 Replace the volume test with a useful file browser 2025-05-15 19:06:09 +10:00
othrayte 1a4d434d5b Change from basic auth to authelia 2025-05-03 18:00:30 +10:00
othrayte 195df929e3 Remove left over file 2025-05-01 03:55:48 +10:00
othrayte 9c06f0bd80 Setup mounting smb shares as volumes using csi 2025-05-01 03:52:34 +10:00
othrayte 874f17aa74 Customise glance a bit 2025-04-30 20:23:24 +10:00
othrayte 2c345e45ce Add glance as home 2025-04-30 02:02:32 +10:00
othrayte 557b187c30 Setup HTTPS 2025-04-30 02:02:17 +10:00
othrayte 8bb9fb18df Setup basicauth
to use whilst we setup https and later proper auth
2025-04-29 22:27:37 +10:00
othrayte 05771d891b Add hcl extention for nomad files
to get syntax highlighting be default.
2025-04-29 20:58:59 +10:00
othrayte a36f10ef73 Setup the default rule for traefik subdomains 2025-04-29 20:56:38 +10:00
othrayte aab7efb5c3 Change routing to use subdomains 2025-04-29 20:35:04 +10:00
othrayte c158757661 Expose traefix on port 80 2025-04-29 18:49:16 +10:00
othrayte bdacd1d6a3 Setup some example apps behing traefik 2025-04-25 21:27:31 +10:00
othrayte 793d77dce9 Switch from coreos to nixos 2025-04-25 15:10:16 +10:00
othrayte 472b198618 Add consul and name the agent 2023-12-05 21:16:40 +11:00
othrayte e710b74a12 Install nomad and consul on the hosts 2023-12-03 00:11:08 +11:00
othrayte 42e9090c38 Document an example setup of CoreOS 2023-12-02 16:56:23 +11:00