Commit 834009b5 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

- Réactivation de Kibana/Mailhog

 - Vite : Déplacement du yarn install dans le entrypoint.sh
parent 686198e4
Loading
Loading
Loading
Loading
+25 −25
Original line number Diff line number Diff line
@@ -140,28 +140,28 @@ services:
      - "5173:5173"


#  ######################################################################
#  # KIBANA
#  kibana:
#    image: docker.elastic.co/kibana/kibana:7.16.1
#    container_name: oscar-dev-kibana
#    depends_on:
#      - oscar-dev-elasticsearch
#    networks:
#      - oscar-dev-network
#    environment:
#      - ELASTICSEARCH_HOSTS=http://oscar-dev-elasticsearch:9200  # Connexion à Elasticsearch
#    ports:
#      - "5601:5601"
#
#
#  ######################################################################
#  # MAILHOG (capture les mails envoyés depuis Oscar)
#  mailhog:
#    image: mailhog/mailhog
#    container_name: oscar-dev-mailhog
#    networks:
#      - oscar-dev-network
#    ports:
#      - "8025:8025" # Interface web MailHog
#      - "1025:1025" # Port SMTP pour envoyer les mails
 No newline at end of file
  ######################################################################
  # KIBANA
  kibana:
    image: docker.elastic.co/kibana/kibana:7.16.1
    container_name: oscar-dev-kibana
    depends_on:
      - oscar-dev-elasticsearch
    networks:
      - oscar-dev-network
    environment:
      - ELASTICSEARCH_HOSTS=http://oscar-dev-elasticsearch:9200  # Connexion à Elasticsearch
    ports:
      - "5601:5601"


  ######################################################################
  # MAILHOG (capture les mails envoyés depuis Oscar)
  mailhog:
    image: mailhog/mailhog
    container_name: oscar-dev-mailhog
    networks:
      - oscar-dev-network
    ports:
      - "8025:8025" # Interface web MailHog
      - "1025:1025" # Port SMTP pour envoyer les mails
 No newline at end of file
+0 −2
Original line number Diff line number Diff line
@@ -12,6 +12,4 @@ RUN chmod +x /entrypoint.sh

WORKDIR /var/application/ui

RUN yarn install

ENTRYPOINT ["/entrypoint.sh"]
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
#!/bin/bash

yarn install
yarn run dev --host