Commit graph

30 commits

Author SHA1 Message Date
apetitco
fb49ba4ee9 (schism): started separating backend from frontend 2025-12-22 15:12:10 +01:00
Maix0
4627f37574 feat(docker): general cleanup of docker-compose
Changed every service to be prefixed by their "group":
- `app` is for the application services
- `mon` is for the monitoring side of things
- `log` is for the logs collection side of things

Renamed the main network to `app`
Moved around some comments in the file to clearly show different groups of services
2025-12-17 19:47:42 +01:00
Maix0
8a3481ea8b feat(monitoring): general fixup
- added healthcheck for every service
- added nginx second "server" block for monitoring
    all monitoring services are now behind this nginx reverse proxy
- fixed logging driver not present for chat service
2025-12-17 19:23:47 +01:00
Maieul BOYER
762796417a
chore(cleanup): Fixed Makefile and Fully remove icons service
Changed so that Only non-monitoring services are launched by default
(override by doing `make DOCKER_SERVICE=`)

Fully removed the icons service (not yet in monitoring)
2025-12-12 14:56:50 +01:00
Maieul BOYER
a8fa9f984d removed icon server and finished profile page 2025-12-11 14:43:50 +01:00
NigeParis
f904a6b6ae Added machine Name to display address of connect in logs 2025-12-11 14:41:21 +01:00
apetitco
56ad511ceb (punition): No more working on backend until Maieul says so :( 2025-12-04 17:53:32 +01:00
apetitco
9734e2d865 (docker-compose): Added tic-tac-toe service to the docker-compose file. 2025-12-04 15:33:05 +01:00
Maieul BOYER
8dd0a74046
feat(logs): make it so rule logs-setup isn't necessary 2025-11-14 17:58:45 +01:00
Raphaël
3ef811b334
Merge branch 'master' into raph/logs 2025-11-14 16:25:06 +01:00
Raphael
7356041e0d
build(compose): adding the logging rules 2025-11-14 16:16:59 +01:00
Raphael
c4aae6b9dd
feat(logs): Adding the log containers 2025-11-14 16:16:42 +01:00
NigeParis
9ce9fa44e4 feat(chat): added base for chat service
added front html

nigel in the mud

route function with openapi - gen

clean up the code a little

after pull request
2025-11-14 15:50:03 +01:00
Raphaël
73a4946d17
Monitoring tools (#32)
* feat(docker/monitoring): adding the first monitoring tools from the docker file

- The first tools is Grafana basicly the tool to supervise all the data

* feat(monitoring/blackbox): adding initial configuration

* feat(monitoring/grafana): adding the configuration to alerting on the discord channels

* feat(monitoring/grafana): adding the grafana dashboard (docker monitoring)

* feat(monitoring/grafana): adding the grafana dashboard (global monitoring)

* feat(monitoring/grafana): adding the global configuration for dashboards

* feat(monitoring/grafana): adding the prometheus configuration

* feat(monitoring/prometheus): adding the configuration of prometheus as the main grafana sources

* core(docker-compose): adding the monitoring part for the docker files

* feat(monitoring/grafana): removing the monitoring global

* feat(monitoring/prometheus): removing the blackbox

- The self certificate is ruinning everything

* core(docker-compose): removing the blackbox container

* core(env/example): adding a env example

* feat(monitoring/blackbox): adding initial configuration

* test(nginx/location): adding a test to test blackbox

* feat(monitoring/prometheus): adding blackbox to the prometheus configuration

* feat(monitoring/grafana): adding the start of the global dashboard

* feat(monitoring/blackbox): adding tls_configuration skip

- The ssl certificate have to be self-signed

* feat(monitoring/grafana): global is now checked and work w/ others services

* feat(monitoring/prometheus): checking other services run

* feat(nginx/conf): now http port will mirror the https

- Usefull for intern docker communication

* feat(auth/app): adding the /monitoring routes

* feat(icons/app): adding the /monitoring routes

* feat(user/app): adding the /monitoring routes

* refactor(auth/src): linting the app.ts

* refactor(icons/src): linting the app.ts

* refactor(user/src): linting the app.ts
2025-11-12 11:50:32 +01:00
Maieul BOYER
0db41a440d feat(frontend): scaffolding to build frontend
- Added `make fnginx` to have better dev experience
- Added app.conf to nginx configuration to handle frontend
2025-11-11 00:20:26 +01:00
Maieul BOYER
66537e2ccb feat(oauth2/user): Implementation of the whole oauth2 pipeline
Auth: user can now login with any oauth2 provider the config list
      account will be created on demands if not already created.
      any oauth2 account is unique (can't link an account to any other
      auth method)
2025-10-28 13:47:20 +01:00
Maieul BOYER
2074f8d8f1 fix(shared/auth/icon): Fixed lots of small things
Icons: Fixed docker-compose to force JWT_SECRET for now
Auth: Fixed Guest Login to actually work
Auth: Added `Login as Guest` in the login_demo page
Shared: Fixed db/user + uuid modules
2025-10-11 14:29:00 +02:00
Maieul BOYER
1cbd778131 feat(auth/user): Finished User Rework to handle Guest
- Split userinfo APIs to their own service (`user`)
- Added user service to nginx and docker-compose
- Cleaned up package.json across the project to remove useless
  depedencies
- Added word list for Guest username generation (source in file itself)
- Reworked internal of `user` DB to not have a difference between "raw"
  id and normal ID (UUID)
2025-10-11 14:29:00 +02:00
Maieul BOYER
964fe908a6 feat(auth): Base auth with plugins
- Add fastify to protect routes plugins (requireAuth: true)
- Simple Demo to show regular password auth (no 2FA/OTP nor remote auth)
- Currently supports: login, logout, signin
- OTP workflow should work, not tested
- Fixed convention for docker volumes (now all placed in /volumes/<name>)
2025-09-01 15:47:07 +02:00
Maieul BOYER
a16852c1b9 feat(death): I want to die... 2025-09-01 15:47:07 +02:00
Maieul BOYER
a2b896916e feat(infra): Added way to run custom commands for different services
- new `EXTRA_FILES` docker build args to specify directory to be copied at
  /extra
- run `${SERVICE}/entrypoint.sh` as docker entry point
- added src/empty folder to so if EXTRA_FILES isn't set => use empty
  folder (since no conditional COPY)
2025-08-04 14:33:34 +02:00
Maieul BOYER
573af0bc4b feat(infra): singular dockerfile with vite bundling
Using Vite as a bundler to allow easier builds, with shared library

Moved to a single dockerfile that takes an argument to specify which
service to use

moved some file around to faciliate bundling with vite

cried a lot
2025-07-30 21:30:04 +02:00
Maieul BOYER
157b06ea4b feat(infra): reworked everything so that a single docker builds all + made sure everything works 2025-07-29 14:15:25 +02:00
Maieul BOYER
68f8d87477 update(wip): I want to docker commit myself 2025-07-29 14:15:25 +02:00
maix0
f9671ea198 getting merged anyway lol 2025-07-29 14:15:25 +02:00
Maieul BOYER
eab450626a update: started to work on the image resizing 2025-07-29 14:15:25 +02:00
maix0
47c019a8df wip 2025-07-29 14:15:25 +02:00
maix0
37403d304a feat(shared): reworked shared library
Shared library is now access using `@shared/module`
2025-07-29 14:14:44 +02:00
maix0
1bc33ab912 wip 2025-07-29 14:12:28 +02:00
maix0
fb48a0fa04 update: scaffolding for nginx 2025-06-12 18:35:04 +02:00