Files
Poseidon/shell.nix

34 lines
619 B
Nix

with import <nixpkgs> {};
let
port = 8000;
in
pkgs.mkShell {
nativeBuildInputs = [
tilt
dapr-cli
kustomize
nodejs
mkcert
];
DOCKER_BUILDKIT = 0;
LOG_LEVEL = 4;
CLIENT_PORT = port + 80;
SERVER_PORT = port + 85;
TILT_PORT = port + 50;
CONTEXT = "staging-vcluster";
NAMESPACE = "atlantis";
REDIS = "localhost:26379";
DB_HOST = "localhost";
DB_PORT = 5432;
shellHook = ''
export BARENTSWATCH_SECRET=$USER-atlantis-barentswatch
export APP_NAME=$USER-atlantis
export APP_NAMESPACE=$USER-atlantis
export TILT_ENV=$USER
export TILT_NAMESPACE=$USER
'';
}