Bonjour

J'ai trouvé sur le web une solution de gestion de materiel pour notre association
Plus d'information sur
- Robert2 github https://github.com/Robert-2/Robert2
- Robert2 Page https://robertmanager.org/
- Robert2 documentation https://robertmanager.org/wiki

j'ai également trouvé une solution docker qui propose un fichier docker-compose.yml que j'ai copier dans la création d'un projet
il est sur gitlab https://gitlab.com/mlaplanche/docker-robert2
ayant un Nas et déja plusieurs conteners utilisé je me dis je tente l'installation ça devrai se faire avec mes quelques connaisances

je vous partage le code

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
version: '3.7'
services:
  app:
    image: maximelaplanche/robert2:latest
    networks:
      - robert2_db_network
      - robert2_network
    depends_on:
      - db

  db:
    image: mysql:8
    command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: MdPToRootU3rF0rR0b3rt2
      MYSQL_DATABASE: robert2_db
      MYSQL_USER: robert2_usr
      MYSQL_PASSWORD: MdPToRootU3rF0rR0b3rt2Us3r
    volumes:
      - robert2_data:/var/lib/mysql
    networks:
      - robert2_db_network

# Docker Networks
networks:
  robert2_db_network:
  robert2_network:

# Docker volumes
volumes:
  robert2_data:
J'ai créé les répertoires dans docker, l'installation se passe lancement des conteners OK

je n'y arrive pas a acceder à Robert2
ensuite je rajoute dans :
APP
et dans BD
je pensai avoir un acces mais cela ne fonctionne toujours pas

dans le contener Robert 2 j'ai ces 4 infos
[AH00094: Command line: 'apache2 -D FOREGROUND'
AH00163: Apache/2.4.38 (Debian) PHP/8.2.7 configured -- resuming normal operations
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.24.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.24.0.3. Set the 'ServerName' directive globally to suppress this message
dans le contener DB j'ai ces 14 linges
date stream content
2023-07-27T09:36:12.655645Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.34' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
2023-07-27T09:36:12.655533Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2023-07-27T09:36:12.453366Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2023-07-27T09:36:12.414032Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-07-27T09:36:12.413964Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-07-27T09:36:04.010171Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-07-27T09:35:58.882729Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-07-27T09:35:58.588840Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1
2023-07-27T09:35:58.588784Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2023-07-27T09:35:58.586273Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2023-07-27 09:35:57+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.
2023-07-27 09:35:57+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2023-07-27 09:35:54+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.
je constate que les conteners fonctionne et discute entre eux mais je ne peux toujours pas accéder à l'application
Avez vous une piste
Merci a vous
Eole35