Commit bc354503 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Expone puerto grcp de filer al host

Para permitir el tránsito de datos también es necesario tener acceso a
este puerto desde la máquina.
parent a62ba059
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -12,9 +12,11 @@ PUBLIC_VOLUME_PORT=8080
VOLUME_PORT_MODE=host

FILER_PORT=8888
FILER_GRPC_PORT=18888
FILER_IP=swfs-filer-{{.Node.ID}}
FILER_GROUP=filesystem
PUBLIC_FILER_PORT=8888
PUBLIC_FILER_GRPC_PORT=18888
FILER_PORT_MODE=host

MASTER_HOST=swfs-master
+4 −0
Original line number Diff line number Diff line
@@ -141,6 +141,7 @@ services:
            -ip=$${FILER_IP}
            -ip.bind=0.0.0.0
            -port=${FILER_PORT}
            -port.grpc=${FILER_GRPC_PORT}
            -master=${MASTER_HOST}-1:${MASTER_PORT},${MASTER_HOST}-2:${MASTER_PORT},${MASTER_HOST}-3:${MASTER_PORT}
            -metricsPort=${METRICS_PORT}
        ")
@@ -159,6 +160,9 @@ services:
      - target: ${FILER_PORT}
        published: ${PUBLIC_FILER_PORT}
        mode: ${FILER_PORT_MODE}
      - target: ${FILER_GRPC_PORT}
        published: ${PUBLIC_FILER_GRPC_PORT}
        mode: ${FILER_PORT_MODE}
    volumes:
      - filer-vol:${DATA_PATH}
    healthcheck: