Pārlūkot izejas kodu

(feat notification service) ajout du service de notification

Brin AMONKONAN 1 gadu atpakaļ
vecāks
revīzija
e01696a726
1 mainītis faili ar 16 papildinājumiem un 0 dzēšanām
  1. 16 0
      docker-compose.yml

+ 16 - 0
docker-compose.yml

@@ -37,6 +37,22 @@ services:
     #   - "traefik.http.services.vue_frontend.loadbalancer.server.port=5173"
     #   - "traefik.http.routers.vue_frontend.entrypoints=web"
 
+  notification_service:
+    build:
+      context: ./notification_service
+      dockerfile: Dockerfile
+    container_name: notification_service
+    ports:
+      - "4000:4000"
+    networks:
+      - gogs-network
+    environment:
+      - REDIS_HOST=redis
+      - SMTP_HOST=smtp.exemple.com
+      - SMTP_USER=ton_email
+      - SMTP_PASS=mot_de_passe
+      - SMS_API_KEY=ta_clé_api_sms
+      
   redis:
     image: redis:7
     container_name: redis_cache