-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshell.nix
More file actions
36 lines (33 loc) · 763 Bytes
/
shell.nix
File metadata and controls
36 lines (33 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [
cargo
rustc
sqlx-cli
(python3.withPackages (ps: with ps; [
psycopg2
python-dotenv
tqdm
]))
nodejs
pnpm
nginx
postgresql
pkg-config
openssl.dev
# for dev
expect
caddy
xcaddy
go
gopls
];
DATABASE_URL = "postgres://postgres:postgres@localhost/nerine";
# example_secret in base64
JWT_SECRET = "ZXhhbXBsZV9zZWNyZXQ=";
ADMIN_TOKEN = "example_admin_token";
PLATFORM_BASE = "http://nerine.localhost";
PLATFORM_ADMIN_TOKEN = ADMIN_TOKEN;
CHALLENGES_DIR = "./test-deploy/challenges";
HOST_KEYCHAINS = "./keychain-dev-real-certs.json";
DEPLOYER_BASE = "http://localhost:3001";
}