Commit 08be0078 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Conecta servicios a la red propia del host

parent ea7ed0c0
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@ services:
    environment:
      << : *dev-environment
      KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT://${PUBLIC_HOSTNAME}:1${KF_PORT}'
    networks:
      - host-net
    ports:
      - target: ${KF_PORT}
        published: 1${KF_PORT}
@@ -36,6 +38,8 @@ services:
    environment:
      << : *dev-environment
      KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT://${PUBLIC_HOSTNAME}:2${KF_PORT}'
    networks:
      - host-net
    ports:
      - target: ${KF_PORT}
        published: 2${KF_PORT}
@@ -49,6 +53,8 @@ services:
    environment:
      << : *dev-environment
      KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT://${PUBLIC_HOSTNAME}:3${KF_PORT}'
    networks:
      - host-net
    ports:
      - target: ${KF_PORT}
        published: 3${KF_PORT}
@@ -76,3 +82,8 @@ volumes:

  kf-3-secrets-vol:
    name: kf-3-secrets-vol

networks:
  host-net:
    external: true
    name: host
+7 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ version: '3.5'

services:
  kafka-connect-ui:
    networks:
      - host-net
    ports:
      - target: ${UI_PORT}
        published: 18002
@@ -27,3 +29,8 @@ services:
          memory: 64M
        reservations:
          memory: 52M

networks:
  host-net:
    external: true
    name: host
+7 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ version: '3.5'

services:
  kafka-manager:
    networks:
      - host-net
    ports:
      - target: ${KM_PORT}
        published: 18003
@@ -27,3 +29,8 @@ services:
          memory: 512M
        reservations:
          memory: 410M

networks:
  host-net:
    external: true
    name: host
+7 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ version: '3.5'

services:
  kafka-topics-ui:
    networks:
      - host-net
    ports:
      - target: ${UI_PORT}
        published: 18001
@@ -27,3 +29,8 @@ services:
          memory: 64M
        reservations:
          memory: 52M

networks:
  host-net:
    external: true
    name: host
+7 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ version: '3.5'

services:
  schema-registry-ui:
    networks:
      - host-net
    ports:
      - target: ${UI_PORT}
        published: 18000
@@ -27,3 +29,8 @@ services:
          memory: 64M
        reservations:
          memory: 52M

networks:
  host-net:
    external: true
    name: host
Loading