feat: prototyping a concurrent location service

This commit is contained in:
js0ny 2025-11-29 23:34:59 +00:00
parent dbf71443c7
commit dac3835078
6 changed files with 104 additions and 0 deletions

View file

@ -1,8 +0,0 @@
# compose.yaml
services:
app:
build: .
image: ilp-coursework:0.2
container_name: ilp-coursework-app
ports:
- "8080:8080"

View file

@ -1,27 +0,0 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1762977756,
"narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -1,43 +0,0 @@
{
description = "Flake for environment building ILP CW";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: {
devShells =
nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-darwin"
] (system: let
pkgs = import nixpkgs {
inherit system;
};
in {
default = pkgs.mkShell {
buildInputs = with pkgs; [
vscode-langservers-extracted
jdt-language-server
jless
jdk21
gradle
httpie
docker
docker-compose
newman
gron
fx
google-java-format
];
shellHook = ''
export JAVA_HOME=${pkgs.jdk21}
echo "Java: $(java --version | head -n 1)"
'';
};
});
};
}