From c81442dc01690e2c471b0de4dc8fac60c5c5befa Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 1 Jun 2022 15:27:11 +0200 Subject: [PATCH] Update README; DNS on prod --- README.md | 16 +++++++++++----- cluster/prod/site/neptune.nix | 3 +-- 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 `: 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 ]; }