Skip to content

Commit

Permalink
refactor: update docker-compose files to use 'avs' service alias inst…
Browse files Browse the repository at this point in the history
…ead of 'aerospike-vector-search' (was mixed)
  • Loading branch information
arrowplum committed Dec 10, 2024
1 parent 7aacc07 commit 77c5336
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions prism-image-search/docker-compose-asdb-6.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ services:
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-vector-search
- ${FEATURE_KEY:-./container-volumes/avs/etc/aerospike-vector-search/features.conf}:/etc/aerospike-vector-search/features.conf:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://aerospike-vector-search:5040/manage/rest/v1"]
test: ["CMD", "curl", "-f", "http://avs:5040/manage/rest/v1"]
interval: 5s
timeout: 20s
retries: 10
app:
image: "aerospike/prism-search-example:latest"
depends_on:
aerospike-vector-search:
avs:
condition: service_healthy
ports:
- "8080:8080"
networks:
- avs-demo
environment:
AVS_HOST: aerospike-vector-search
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native
Expand Down Expand Up @@ -76,7 +76,7 @@ services:
depends_on:
update-targets:
condition: service_completed_successfully
aerospike-vector-search:
avs:
condition: service_healthy
networks:
- avs-demo
Expand Down
8 changes: 4 additions & 4 deletions prism-image-search/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ services:
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-vector-search
- ${FEATURE_KEY:-./container-volumes/avs/etc/aerospike-vector-search/features.conf}:/etc/aerospike-vector-search/features.conf:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://aerospike-vector-search:5040/manage/rest/v1"]
test: ["CMD", "curl", "-f", "http://avs:5040/manage/rest/v1"]
interval: 5s
timeout: 20s
retries: 10
app:
image: "prism:latest"
depends_on:
aerospike-vector-search:
avs:
condition: service_healthy
ports:
- "8080:8080"
networks:
- avs-demo
environment:
AVS_HOST: aerospike-vector-search
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native
Expand Down Expand Up @@ -78,7 +78,7 @@ services:
depends_on:
update-targets:
condition: service_completed_successfully
aerospike-vector-search:
avs:
condition: service_healthy
networks:
- avs-demo
Expand Down
8 changes: 4 additions & 4 deletions prism-image-search/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ services:
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-vector-search
- ${FEATURE_KEY:-./container-volumes/avs/etc/aerospike-vector-search/features.conf}:/etc/aerospike-vector-search/features.conf:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://aerospike-vector-search:5040/manage/rest/v1"]
test: ["CMD", "curl", "-f", "http://avs:5040/manage/rest/v1"]
interval: 5s
timeout: 20s
retries: 10
app:
image: "aerospike/prism-search-example:latest"
depends_on:
aerospike-vector-search:
avs:
condition: service_healthy
ports:
- "8080:8080"
networks:
- avs-demo
environment:
AVS_HOST: aerospike-vector-search
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native
Expand Down Expand Up @@ -76,7 +76,7 @@ services:
depends_on:
update-targets:
condition: service_completed_successfully
aerospike-vector-search:
avs:
condition: service_healthy
networks:
- avs-demo
Expand Down
8 changes: 4 additions & 4 deletions quote-semantic-search/docker-compose-asdb-6.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ services:
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-vector-search
- ${FEATURE_KEY:-./container-volumes/avs/etc/aerospike-vector-search/features.conf}:/etc/aerospike-vector-search/features.conf:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://aerospike-vector-search:5040/manage/rest/v1"]
test: ["CMD", "curl", "-f", "http://avs:5040/manage/rest/v1"]
interval: 5s
timeout: 20s
retries: 10
app:
image: "quote-search:latest"
depends_on:
aerospike-vector-search:
avs:
condition: service_healthy
ports:
- "8080:8080"
Expand All @@ -49,7 +49,7 @@ services:
volumes:
- ./container-volumes/quote-search/data:/container-volumes/quote-search/data
environment:
AVS_HOST: aerospike-vector-search
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native
Expand Down Expand Up @@ -78,7 +78,7 @@ services:
depends_on:
update-targets:
condition: service_completed_successfully
aerospike-vector-search:
avs:
condition: service_healthy
networks:
- avs-demo
Expand Down
8 changes: 4 additions & 4 deletions quote-semantic-search/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ services:
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-vector-search
- ${FEATURE_KEY:-./container-volumes/avs/etc/aerospike-vector-search/features.conf}:/etc/aerospike-vector-search/features.conf:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://aerospike-vector-search:5040/manage/rest/v1"]
test: ["CMD", "curl", "-f", "http://avs:5040/manage/rest/v1"]
interval: 5s
timeout: 20s
retries: 10
app:
image: "quote-search:latest"
depends_on:
aerospike-vector-search:
avs:
condition: service_healthy
ports:
- "8080:8080"
Expand All @@ -49,7 +49,7 @@ services:
volumes:
- ./container-volumes/quote-search/data:/container-volumes/quote-search/data
environment:
AVS_HOST: aerospike-vector-search
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native
Expand Down Expand Up @@ -78,7 +78,7 @@ services:
depends_on:
update-targets:
condition: service_completed_successfully
aerospike-vector-search:
avs:
condition: service_healthy
networks:
- avs-demo
Expand Down
8 changes: 4 additions & 4 deletions quote-semantic-search/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ services:
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-vector-search
- ${FEATURE_KEY:-./container-volumes/avs/etc/aerospike-vector-search/features.conf}:/etc/aerospike-vector-search/features.conf:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://aerospike-vector-search:5040/manage/rest/v1"]
test: ["CMD", "curl", "-f", "http://avs:5040/manage/rest/v1"]
interval: 5s
timeout: 20s
retries: 10
app:
image: "aerospike/quote-search-example:latest"
depends_on:
aerospike-vector-search:
avs:
condition: service_healthy
ports:
- "8080:8080"
Expand All @@ -49,7 +49,7 @@ services:
volumes:
- ./container-volumes/quote-search/data:/container-volumes/quote-search/data
environment:
AVS_HOST: aerospike-vector-search
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native
Expand Down Expand Up @@ -78,7 +78,7 @@ services:
depends_on:
update-targets:
condition: service_completed_successfully
aerospike-vector-search:
avs:
condition: service_healthy
networks:
- avs-demo
Expand Down

0 comments on commit 77c5336

Please sign in to comment.