diff --git a/.gitignore b/.gitignore
index 61ed415..e9f0e88 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@ node_modules/
**/dist/
*.crt
*.key
+openapi.jar
# sqlite stuff
*.db
diff --git a/Makefile b/Makefile
index 370c152..1b6e282 100644
--- a/Makefile
+++ b/Makefile
@@ -123,11 +123,14 @@ npm@build:
npm@update:
(cd ./src/ && rm -rf ./src/node_modules/ && npx pnpm update -r --workspace)
-npm@openapi:
+npm@openapi: openapi.jar
@(cd ./src/ && npx pnpm run --if-present -r build:openapi)
@rm -f ./src/openapi.json
@(cd ./src/ && npx pnpm exec redocly join --without-x-tag-groups)
- @(cd ./src/ && npx pnpm exec openapi-generator-cli generate -t ../openapi-template -g typescript-fetch -i openapi.json -o ../frontend/src/api/generated);
+ @(cd ./src/ && java -jar ../openapi.jar generate -t ../openapi-template -g typescript-fetch -i openapi.json -o ../frontend/src/api/generated);
+
+openapi.jar:
+ wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.15.0/openapi-generator-cli-7.15.0.jar -O ./openapi.jar
# this convert the .dbml file to an actual sql file that SQLite can handle :)
sql:
diff --git a/docker-compose.yml b/docker-compose.yml
index adf7e16..b62072e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -80,6 +80,28 @@ services:
- JWT_SECRET=KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JA
- DATABASE_DIR=/volumes/database
- PROVIDER_FILE=/extra/providers.toml
+
+
+ ###############
+ # CHAT #
+ ###############
+ chat:
+ build:
+ context: ./src/
+ args:
+ - SERVICE=chat
+ - EXTRA_FILES=chat/extra
+ container_name: chat
+ restart: always
+ networks:
+ - transcendance-network
+ volumes:
+ - sqlite-volume:/volumes/database
+ - static-volume:/volumes/static
+ environment:
+ - JWT_SECRET=KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JA
+ - DATABASE_DIR=/volumes/database
+ - PROVIDER_FILE=/extra/providers.toml
###############
diff --git a/frontend/index.html b/frontend/index.html
index ffb2ad2..47a018d 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -46,6 +46,7 @@
+