Skip to content

Commit

Permalink
Fix docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
davi17g committed Jun 9, 2024
1 parent 73c76a8 commit 5183918
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
13 changes: 11 additions & 2 deletions prism-image-search/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,23 @@ services:
volumes:
- ./container-volumes/avs/etc/avs:/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
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
19 changes: 11 additions & 8 deletions quote-semantic-search/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ services:
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"
Expand All @@ -28,14 +35,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: {}

0 comments on commit 5183918

Please sign in to comment.