Skip to content
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

refactor: update docker-compose files to use 'avs' service alias instead of 'aerospike-vector-search' (was mixed) #79

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
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
Loading