Server rework for API change and paradigm shift (#23)

* start with group permissions implementation

* some minor refactoring

* adjust hub for api changes

* fixes and database migration

* fixes sending online/offline message to clients stuff

* remove admin stuff from server

* fixes get server permissions

* send group pair info to client on joining a group

* send online only on sending connection dto

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
rootdarkarchon
2023-01-29 15:15:02 +01:00
committed by GitHub
parent 0c3bb89456
commit ca16b08a2f
24 changed files with 1027 additions and 689 deletions

View File

@@ -35,6 +35,11 @@ services:
depends_on:
postgres:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl --fail http://localhost:6000/health || exit 1"]
retries: 60
start_period: 10s
timeout: 1s
mare-services:
image: darkarchon/mare-synchronos-services:latest
@@ -48,7 +53,8 @@ services:
depends_on:
postgres:
condition: service_healthy
- "mare-server"
mare-server:
condition: service_healthy
mare-files:
image: darkarchon/mare-synchronos-staticfilesserver:latest
@@ -63,7 +69,10 @@ services:
depends_on:
postgres:
condition: service_healthy
- "mare-server"
mare-server:
condition: service_healthy
volumes:
postgres_socket:
postgres_socket:
cache:
driver: local