Quellcode durchsuchen

(feat notification service) ajout du service de notification

Brin AMONKONAN vor 1 Jahr
Ursprung
Commit
e01696a726
1 geänderte Dateien mit 16 neuen und 0 gelöschten Zeilen
  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