Add Wireshark and jenkins 80/11480/3
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Sat, 1 Jul 2023 15:31:25 +0000 (15:31 +0000)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sat, 1 Jul 2023 15:46:02 +0000 (15:46 +0000)
- add services to docker compose

Issue-ID: OAM-345
Change-Id: Ia622090a1846160b6173f1fde9f5090ff10ce180
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
solution/smo/apps/docker-compose.yml

index ce4eb45..46614fe 100644 (file)
@@ -45,6 +45,50 @@ services:
     networks:
       dmz:
 
+  tests:
+    image: ${TESTS_IMAGE}
+    privileged: true
+    user: root
+    container_name: tests
+    hostname: tests
+    volumes:
+     - /var/run/docker.sock:/var/run/docker.sock:ro
+     - ./jenkins:/var/jenkins_home
+    labels:
+      traefik.enable: true
+      traefik.http.routers.tests.entrypoints: websecure
+      traefik.http.routers.tests.rule: Host(`tests.oam.${SOLUTION_DOMAIN}`)
+      traefik.http.routers.tests.tls: true
+      traefik.http.services.tests.loadbalancer.server.port: 8080
+    networks:
+      dmz:
+
+  wireshark:
+    image: "${WIRESHARK_IMAGE}"
+    container_name: wireshark
+    cap_add:
+      - NET_ADMIN
+    network_mode: host
+    environment:
+      - PUID=1000
+      - PGID=1000
+      - TZ=Etc/UTC
+    volumes:
+      - ./wireshark:/config
+    # no port mappbecause of network mode host.
+    # ports:
+    #   - 3000:3000
+    restart: unless-stopped
+    # labels:
+    #   traefik.enable: true
+    #   traefik.http.routers.wireshark.entrypoints: websecure
+    #   traefik.http.routers.wireshark.rule: Host(`wireshark.oam.${SOLUTION_DOMAIN}`)
+    #   traefik.http.routers.wireshark.tls: true
+    #   traefik.http.services.wireshark.loadbalancer.server.port: 3000
+    # networks:
+    #   dmz:
+    #   dcn:
+
 networks:
   dmz:
     external: true
\ No newline at end of file