mise à jour readme + divers
This commit is contained in:
parent
eb924e1973
commit
16ce4eaa47
17
README.md
17
README.md
@ -69,6 +69,18 @@ docker compose up database -d
|
|||||||
./scripts/create_realm.sh create_realm <NOM_DU_REALM> <IP_ADRESS_SERVER>
|
./scripts/create_realm.sh create_realm <NOM_DU_REALM> <IP_ADRESS_SERVER>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Nettoyage des comptes par défault de la base de données
|
||||||
|
```bash
|
||||||
|
docker exec -it database bash
|
||||||
|
# Une fois dans le terminal du conteneur, on install mysql
|
||||||
|
apt update && apt install mysql-client -y
|
||||||
|
on se connecte à la db
|
||||||
|
mysql -u <db_user> -p<db_password> -D <wow_version>realmd
|
||||||
|
delete * from account;
|
||||||
|
```
|
||||||
|
|
||||||
|
> Possibilité de passer par le service
|
||||||
|
|
||||||
### Créer un compte
|
### Créer un compte
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -103,8 +115,13 @@ Dans le dossier `registration/` se trouve une interface pour créer des comptes
|
|||||||
|
|
||||||
:warning: Utiliser un user admin (gmlevel 3) dans `registration/application/config/config.php` pour se connecter au processus d'écoute de `mangosd` (via SOAP) à configurer dans config/mangosd/mangosd.conf (lignes 1731 à 1735)
|
:warning: Utiliser un user admin (gmlevel 3) dans `registration/application/config/config.php` pour se connecter au processus d'écoute de `mangosd` (via SOAP) à configurer dans config/mangosd/mangosd.conf (lignes 1731 à 1735)
|
||||||
|
|
||||||
|
> En résumé, le service `wow-registration` utilise SOAP pour envoyer des requêtes de création de compte ou de mise à jour de mot de passe au processus `mangosd` en tant qu'utilisateur administrateur.
|
||||||
|
|
||||||
|
:bulb: Il est préférable de protéger l'appli de registration dérrière une authentification (sso par exemple) -> [proxy-gatekeeper](https://git.legaragenumerique.fr/GARAGENUM/keycloak-gatekeeper)
|
||||||
|
|
||||||
### TO DO
|
### TO DO
|
||||||
|
|
||||||
- [x] admin create account OK, change password OK
|
- [x] admin create account OK, change password OK
|
||||||
|
- [ ] clean base users after database readiness
|
||||||
- [ ] make registration get vars from .env
|
- [ ] make registration get vars from .env
|
||||||
- [ ] script install ask version and client path and do all
|
- [ ] script install ask version and client path and do all
|
||||||
16
compose.yml
16
compose.yml
@ -51,6 +51,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- wow
|
- wow
|
||||||
|
|
||||||
|
# OPTIONNEL POUR VISUALISER LA BDD
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
image: phpmyadmin:5.2
|
image: phpmyadmin:5.2
|
||||||
container_name: wow-db-admin
|
container_name: wow-db-admin
|
||||||
@ -67,20 +68,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "${PHPMYADMIN_PORT:-8080}:80"
|
- "${PHPMYADMIN_PORT:-8080}:80"
|
||||||
|
|
||||||
# admin:
|
registration:
|
||||||
# build: ./php
|
|
||||||
# ports:
|
|
||||||
# - "8089:80"
|
|
||||||
# env_file:
|
|
||||||
# - .env
|
|
||||||
# depends_on:
|
|
||||||
# - database
|
|
||||||
# networks:
|
|
||||||
# - wow
|
|
||||||
|
|
||||||
php-panel:
|
|
||||||
image: wow-registration
|
image: wow-registration
|
||||||
# build: ./registration
|
build: ./registration
|
||||||
container_name: wow-registration
|
container_name: wow-registration
|
||||||
ports:
|
ports:
|
||||||
- "8090:80"
|
- "8090:80"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user