commit | 7d53949f4bc33686951327d629423afdd8b4f11c | [log] [tgz] |
---|---|---|
author | Skyler Grey <minion@clicks.codes> | Sat Jun 08 23:18:57 2024 +0000 |
committer | Samuel Shuert <coded@clicks.codes> | Sun Jun 09 00:40:11 2024 +0000 |
tree | 8acf161c0b5f7129a399774ee2ea76f2bc55645e | |
parent | d083cf47849e8ca42557379a8c02d1caa355af63 [diff] |
feat: add postgres We've made a postgres module which can create databases, users, etc. in an ergonomic way Change-Id: Ib574c96b5639797fac373a6384c450e98b25ea46 Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/727 Reviewed-by: Samuel Shuert <coded@clicks.codes> Tested-by: Samuel Shuert <coded@clicks.codes>
This repository contains system configuration for Clicks's infrastructure.
Config is written using Snowfall lib. It keeps us organized and has some nice features like namespaces.
a
stands for "area", d
stands for "device". So for example, a1d1
is device 1 in area 1. Areas are generally managed by one member of Clicks, who has full access to all of the servers in that area. If you require help for a specific area you can email admin@clicks.codes
and in the subject line include the area you want help for.
System | Description | Address |
---|---|---|
a1d1 | Primary Host | d1.a1.clicks.domains |
a1d2 | Build Server | d2.a1.clicks.domains |
Deploys are done with deploy-rs, you'll need to be able to ssh into a machine with its hostname (either by a nifty .ssh/config
rule or tailscale
).
Once you've done that, you'll be able to deploy with
$ deploy .#MACHINE_NAME