From 5930b6a26e375a26d84194b0757d13fad94100a3 Mon Sep 17 00:00:00 2001 From: demx8as6 Date: Sat, 1 Jul 2023 15:31:25 +0000 Subject: [PATCH] Add Wireshark and jenkins - add services to docker compose Issue-ID: OAM-345 Change-Id: Ia622090a1846160b6173f1fde9f5090ff10ce180 Signed-off-by: demx8as6 --- solution/smo/apps/docker-compose.yml | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) 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 @@ 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 -- 2.16.6