Add Wireshark and jenkins
- add services to docker compose
Issue-ID: OAM-345
Change-Id: Ia622090a1846160b6173f1fde9f5090ff10ce180
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
diff --git a/solution/smo/apps/docker-compose.yml b/solution/smo/apps/docker-compose.yml
index ce4eb45..46614fe 100644
--- a/solution/smo/apps/docker-compose.yml
+++ b/solution/smo/apps/docker-compose.yml
@@ -45,6 +45,50 @@
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