Skip to content

Commit 0b8c74e

Browse files
remov load balancer from docker-compose for distributed tests (#809)
1 parent 2b6739c commit 0b8c74e

File tree

1 file changed

+3
-131
lines changed

1 file changed

+3
-131
lines changed

docker-compose-distributed-test.yaml

Lines changed: 3 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -94,135 +94,7 @@ services:
9494
condition: on-failure
9595
delay: 20s
9696
max_attempts: 3
97-
# ingest server two
98-
parseable-ingest-two:
99-
build:
100-
context: .
101-
dockerfile: Dockerfile
102-
command: ["parseable", "s3-store"]
103-
ports:
104-
- 8000
105-
environment:
106-
- P_S3_URL=http://minio:9000
107-
- P_S3_ACCESS_KEY=parseable
108-
- P_S3_SECRET_KEY=supersecret
109-
- P_S3_REGION=us-east-1
110-
- P_S3_BUCKET=parseable
111-
- P_STAGING_DIR=/tmp/data
112-
- P_USERNAME=parseableadmin
113-
- P_PASSWORD=parseableadmin
114-
- P_CHECK_UPDATE=false
115-
- P_PARQUET_COMPRESSION_ALGO=snappy
116-
- P_MODE=ingest
117-
- P_INGESTOR_ENDPOINT=parseable-ingest-two:8000
118-
networks:
119-
- parseable-internal
120-
healthcheck:
121-
test: [ "CMD", "curl", "-f", "http://localhost:8000/api/v1/liveness" ]
122-
interval: 15s
123-
timeout: 20s
124-
retries: 5
125-
depends_on:
126-
- parseable-query
127-
- minio
128-
deploy:
129-
restart_policy:
130-
condition: on-failure
131-
delay: 20s
132-
max_attempts: 3
133-
# ingest server three
134-
parseable-ingest-three:
135-
build:
136-
context: .
137-
dockerfile: Dockerfile
138-
command: ["parseable", "s3-store"]
139-
ports:
140-
- 8000
141-
environment:
142-
- P_S3_URL=http://minio:9000
143-
- P_S3_ACCESS_KEY=parseable
144-
- P_S3_SECRET_KEY=supersecret
145-
- P_S3_REGION=us-east-1
146-
- P_S3_BUCKET=parseable
147-
- P_STAGING_DIR=/tmp/data
148-
- P_USERNAME=parseableadmin
149-
- P_PASSWORD=parseableadmin
150-
- P_CHECK_UPDATE=false
151-
- P_PARQUET_COMPRESSION_ALGO=snappy
152-
- P_MODE=ingest
153-
- P_INGESTOR_ENDPOINT=parseable-ingest-three:8000
154-
networks:
155-
- parseable-internal
156-
healthcheck:
157-
test: [ "CMD", "curl", "-f", "http://localhost:8000/api/v1/liveness" ]
158-
interval: 15s
159-
timeout: 20s
160-
retries: 5
161-
depends_on:
162-
- parseable-query
163-
- minio
164-
deploy:
165-
restart_policy:
166-
condition: on-failure
167-
delay: 20s
168-
max_attempts: 3
169-
# ingest server four
170-
parseable-ingest-four:
171-
build:
172-
context: .
173-
dockerfile: Dockerfile
174-
command: ["parseable", "s3-store"]
175-
ports:
176-
- 8000
177-
environment:
178-
- P_S3_URL=http://minio:9000
179-
- P_S3_ACCESS_KEY=parseable
180-
- P_S3_SECRET_KEY=supersecret
181-
- P_S3_REGION=us-east-1
182-
- P_S3_BUCKET=parseable
183-
- P_STAGING_DIR=/tmp/data
184-
- P_USERNAME=parseableadmin
185-
- P_PASSWORD=parseableadmin
186-
- P_CHECK_UPDATE=false
187-
- P_PARQUET_COMPRESSION_ALGO=snappy
188-
- P_MODE=ingest
189-
- P_INGESTOR_ENDPOINT=parseable-ingest-four:8000
190-
networks:
191-
- parseable-internal
192-
healthcheck:
193-
test: [ "CMD", "curl", "-f", "http://localhost:8000/api/v1/liveness" ]
194-
interval: 15s
195-
timeout: 20s
196-
retries: 5
197-
depends_on:
198-
- parseable-query
199-
- minio
200-
deploy:
201-
restart_policy:
202-
condition: on-failure
203-
delay: 20s
204-
max_attempts: 3
205-
# penguin lb
206-
penguin:
207-
platform: linux/amd64
208-
image: parseable/penguin:edge
209-
command: ["./target/release/penguin"]
210-
environment:
211-
- P_ADDR_ONE=parseable-ingest-one:8000
212-
- P_ADDR_TWO=parseable-ingest-two:8000
213-
- P_ADDR_THREE=parseable-ingest-three:8000
214-
- P_ADDR_FOUR=parseable-ingest-four:8000
215-
ports:
216-
- 6188:6188
217-
depends_on:
218-
- parseable-query
219-
- minio
220-
- parseable-ingest-one
221-
- parseable-ingest-two
222-
- parseable-ingest-three
223-
- parseable-ingest-four
224-
networks:
225-
- parseable-internal
97+
22698
quest:
22799
platform: linux/amd64
228100
image: ghcr.io/parseablehq/quest:main
@@ -239,15 +111,15 @@ services:
239111
"parseable",
240112
"supersecret",
241113
"parseable",
242-
"http://penguin:6188",
114+
"http://parseable-ingest-one:8000",
243115
"parseableadmin",
244116
"parseableadmin",
245117
]
246118
networks:
247119
- parseable-internal
248120
depends_on:
249121
- parseable-query
250-
- penguin
122+
- parseable-ingest-one
251123
- minio
252124
deploy:
253125
restart_policy:

0 commit comments

Comments
 (0)