Commit 51a817e6 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Mueve servicio a nodo manager y mapea volumen efs

parent d3e30fc4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
version: '3.5'

volumes:
  connect-jars-vol:
    name: ${CONNECT_JARS_VOL_NAME:-connect-jars-vol}
+6 −6
Original line number Diff line number Diff line
version: '3.5'

services:
  kafka-connector-loader:
    deploy:
      placement:
        constraints:
          - node.role == worker
volumes:
  connect-jars-vol:
    name: ${CONNECT_JARS_VOL_NAME:-connect-jars-vol}
    driver: 'cloudstor:aws'
    driver_opts:
      backing: shared
+3 −4
Original line number Diff line number Diff line
@@ -15,6 +15,9 @@ services:
      replicas: 1
      restart_policy:
        condition: none
      placement:
        constraints:
          - node.role == manager
      resources:
        limits:
          cpus: '0.1'
@@ -26,7 +29,3 @@ networks:
  kafka-net:
    name: ${KAFKA_NET_NAME:-kafka-net}
    external: true

volumes:
  connect-jars-vol:
    name: ${CONNECT_JARS_VOL_NAME:-connect-jars-vol}