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

Fix docker-compose #38

Merged
merged 3 commits into from
Jun 13, 2024
Merged
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
43 changes: 43 additions & 0 deletions prism-image-search/docker-compose-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
services:
aerospike:
image: aerospike/aerospike-server-enterprise:7.0.0.2
ports:
- "3000:3000"
networks:
- avs-demo
volumes:
- ./container-volumes/aerospike/etc/aerospike:/opt/aerospike/etc/aerospike
command:
- "--config-file"
- "/opt/aerospike/etc/aerospike/aerospike.conf"
avs:
image: aerospike/aerospike-proximus:0.4.0
# ports:
# - "5000:5000"
networks:
- avs-demo
volumes:
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-proximus
app:
build:
context: .
dockerfile: Dockerfile-prism
develop:
watch:
- path: ./prism
action: rebuild
image: prism
ports:
- "8080:8080"
networks:
- avs-demo
environment:
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native
volumes:
- ./container-volumes/prism/images:/prism/static/images/data

networks:
avs-demo: {}
10 changes: 6 additions & 4 deletions prism-image-search/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,18 @@ services:
networks:
- avs-demo
volumes:
- ./container-volumes/avs/etc/avs:/etc/aerospike-proximus
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-proximus
app:
image: prism
image: aerospike/prism-search-example:latest
ports:
- "8080:8080"
networks:
- avs-demo
environment:
- AVS_HOST=avs
- AVS_PORT=5000
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native
volumes:
- ./container-volumes/prism/images:/prism/static/images/data

Expand Down
44 changes: 44 additions & 0 deletions quote-semantic-search/docker-compose-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
services:
aerospike:
image: aerospike/aerospike-server-enterprise:7.0.0.2
# ports:
# - "3000:3000"
networks:
- avs-demo
volumes:
- ./container-volumes/aerospike/etc/aerospike:/opt/aerospike/etc/aerospike
command:
- "--config-file"
- "/opt/aerospike/etc/aerospike/aerospike.conf"
avs:
image: aerospike/aerospike-proximus:0.4.0
# ports:
# - "5002:5002"
networks:
- avs-demo
volumes:
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-proximus
app:
build:
context: .
dockerfile: Dockerfile-quote-search
develop:
watch:
- path: ./quote-search
action: rebuild
image: quote-search
ports:
- "8080:8080"
networks:
- avs-demo
volumes:
- ./container-volumes/quote-search/data:/container-volumes/quote-search/data
# ./usr/local/lib/python3.10/dist-packages/sentence_transformers
environment:
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native

networks:
avs-demo: {}
14 changes: 5 additions & 9 deletions quote-semantic-search/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
volumes:
- ./container-volumes/avs/etc/aerospike-vector-search:/etc/aerospike-proximus
app:
image: quote-search
image: aerospike/quote-search-example:latest
ports:
- "8080:8080"
networks:
Expand All @@ -28,14 +28,10 @@ services:
- ./container-volumes/quote-search/data:/container-volumes/quote-search/data
# ./usr/local/lib/python3.10/dist-packages/sentence_transformers
environment:
- AVS_HOST=avs
- AVS_PORT=5000
- APP_NUM_QUOTES=5000
- GRPC_DNS_RESOLVER=native
AVS_HOST: avs
AVS_PORT: "5000"
APP_NUM_QUOTES: "5000"
GRPC_DNS_RESOLVER: native


networks:
avs-demo: {}

volumes:
app_data: {}