Skip to content

removed load balancer from docker-compose for distributed #809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 3 additions & 131 deletions docker-compose-distributed-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,135 +94,7 @@ services:
condition: on-failure
delay: 20s
max_attempts: 3
# ingest server two
parseable-ingest-two:
build:
context: .
dockerfile: Dockerfile
command: ["parseable", "s3-store"]
ports:
- 8000
environment:
- P_S3_URL=http://minio:9000
- P_S3_ACCESS_KEY=parseable
- P_S3_SECRET_KEY=supersecret
- P_S3_REGION=us-east-1
- P_S3_BUCKET=parseable
- P_STAGING_DIR=/tmp/data
- P_USERNAME=parseableadmin
- P_PASSWORD=parseableadmin
- P_CHECK_UPDATE=false
- P_PARQUET_COMPRESSION_ALGO=snappy
- P_MODE=ingest
- P_INGESTOR_ENDPOINT=parseable-ingest-two:8000
networks:
- parseable-internal
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8000/api/v1/liveness" ]
interval: 15s
timeout: 20s
retries: 5
depends_on:
- parseable-query
- minio
deploy:
restart_policy:
condition: on-failure
delay: 20s
max_attempts: 3
# ingest server three
parseable-ingest-three:
build:
context: .
dockerfile: Dockerfile
command: ["parseable", "s3-store"]
ports:
- 8000
environment:
- P_S3_URL=http://minio:9000
- P_S3_ACCESS_KEY=parseable
- P_S3_SECRET_KEY=supersecret
- P_S3_REGION=us-east-1
- P_S3_BUCKET=parseable
- P_STAGING_DIR=/tmp/data
- P_USERNAME=parseableadmin
- P_PASSWORD=parseableadmin
- P_CHECK_UPDATE=false
- P_PARQUET_COMPRESSION_ALGO=snappy
- P_MODE=ingest
- P_INGESTOR_ENDPOINT=parseable-ingest-three:8000
networks:
- parseable-internal
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8000/api/v1/liveness" ]
interval: 15s
timeout: 20s
retries: 5
depends_on:
- parseable-query
- minio
deploy:
restart_policy:
condition: on-failure
delay: 20s
max_attempts: 3
# ingest server four
parseable-ingest-four:
build:
context: .
dockerfile: Dockerfile
command: ["parseable", "s3-store"]
ports:
- 8000
environment:
- P_S3_URL=http://minio:9000
- P_S3_ACCESS_KEY=parseable
- P_S3_SECRET_KEY=supersecret
- P_S3_REGION=us-east-1
- P_S3_BUCKET=parseable
- P_STAGING_DIR=/tmp/data
- P_USERNAME=parseableadmin
- P_PASSWORD=parseableadmin
- P_CHECK_UPDATE=false
- P_PARQUET_COMPRESSION_ALGO=snappy
- P_MODE=ingest
- P_INGESTOR_ENDPOINT=parseable-ingest-four:8000
networks:
- parseable-internal
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8000/api/v1/liveness" ]
interval: 15s
timeout: 20s
retries: 5
depends_on:
- parseable-query
- minio
deploy:
restart_policy:
condition: on-failure
delay: 20s
max_attempts: 3
# penguin lb
penguin:
platform: linux/amd64
image: parseable/penguin:edge
command: ["./target/release/penguin"]
environment:
- P_ADDR_ONE=parseable-ingest-one:8000
- P_ADDR_TWO=parseable-ingest-two:8000
- P_ADDR_THREE=parseable-ingest-three:8000
- P_ADDR_FOUR=parseable-ingest-four:8000
ports:
- 6188:6188
depends_on:
- parseable-query
- minio
- parseable-ingest-one
- parseable-ingest-two
- parseable-ingest-three
- parseable-ingest-four
networks:
- parseable-internal

quest:
platform: linux/amd64
image: ghcr.io/parseablehq/quest:main
Expand All @@ -239,15 +111,15 @@ services:
"parseable",
"supersecret",
"parseable",
"http://penguin:6188",
"http://parseable-ingest-one:8000",
"parseableadmin",
"parseableadmin",
]
networks:
- parseable-internal
depends_on:
- parseable-query
- penguin
- parseable-ingest-one
- minio
deploy:
restart_policy:
Expand Down
Loading