aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-01 15:27:11 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-01 15:27:11 +0200
commitc81442dc01690e2c471b0de4dc8fac60c5c5befa (patch)
treeb78665d343c15b099cdd104cdfb2aeca9036f0bb
parent0dedbd2d22ed0ffacc32f191e870a9295b153d5b (diff)
downloadnixcfg-c81442dc01690e2c471b0de4dc8fac60c5c5befa.tar.gz
nixcfg-c81442dc01690e2c471b0de4dc8fac60c5c5befa.zip
Update README; DNS on prod
-rw-r--r--README.md16
-rw-r--r--cluster/prod/site/neptune.nix3
2 files changed, 12 insertions, 7 deletions
diff --git a/README.md b/README.md
index a2b5e8f..ef3f082 100644
--- a/README.md
+++ b/README.md
@@ -139,6 +139,7 @@ Host caribou
HostName 2a01:e0a:c:a720::23
LocalForward 14646 127.0.0.1:4646
LocalForward 8501 127.0.0.1:8501
+ LocalForward 1389 bottin.service.staging.consul:389
```
Then, in a separate window, launch `./tlsproxy <cluster_name>`: this will
@@ -151,10 +152,15 @@ long as you need to access Nomad and Consul on the cluster.
Stuff should be started in this order:
-- `app/core`
-- `app/frontend`
-- `app/garage-staging`
+1. `app/core`
+2. `app/frontend`
+3. `app/telemetry`
+4. `app/garage-staging`
+5. `app/directory`
-At this point, we are able to have a systemd service called `mountgarage` that mounts Garage buckets in `/mnt/garage-staging`. This is used by the following services that can be launched afterwards:
+Then, other stuff can be started in any order:
+
+- `app/im` (cluster `staging` only)
+- `app/cryptpad` (cluster `prod` only)
+- `app/drone-ci`
-- `app/im`
diff --git a/cluster/prod/site/neptune.nix b/cluster/prod/site/neptune.nix
index 3770c2f..f2415d5 100644
--- a/cluster/prod/site/neptune.nix
+++ b/cluster/prod/site/neptune.nix
@@ -5,8 +5,7 @@
deuxfleurs.lan_default_gateway = "192.168.1.1";
deuxfleurs.lan_ip_prefix_length = 24;
deuxfleurs.ipv6_prefix_length = 64;
-
- networking.nameservers = [ "192.168.1.1" ];
+ deuxfleurs.nameservers = [ "192.168.1.1" ];
networking.firewall.allowedTCPPorts = [ 80 443 ];
}