fp/devbox.json

37 lines
1.0 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"nodejs@20",
"ffmpeg@latest",
"yt-dlp@latest",
"python310@latest",
"python310Packages.pip@latest",
"hcloud@latest",
"lazydocker@latest",
"ruby@latest",
"chisel@latest",
"bento4@latest",
"shaka-packager@latest"
],
"env": {
"DEVBOX_COREPACK_ENABLED": "true",
"ENV": "development",
"KUBECONFIG": "$HOME/.kube/futureporn.yaml",
"VENV_DIR": ".venv"
},
"shell": {
"init_hook": [
"echo Welcome to Futureporn devbox",
". $VENV_DIR/bin/activate",
"pip install -r requirements.txt"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
],
"tunnel": "dotenvx run -f ./.kamal/secrets.development -- chisel client bright.fp.sbtp.xyz:9090 R:4000",
"backup": "docker exec -t postgres_db pg_dumpall -c -U postgres > ./backups/dev_`date +%Y-%m-%d_%H_%M_%S`.sql"
}
}
}