diff --git a/prism-image-search/docker-compose.yml b/prism-image-search/docker-compose.yml index 030521b..fa59cb1 100644 --- a/prism-image-search/docker-compose.yml +++ b/prism-image-search/docker-compose.yml @@ -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 diff --git a/quote-semantic-search/docker-compose.yml b/quote-semantic-search/docker-compose.yml index 65c3fec..5cc6f6f 100644 --- a/quote-semantic-search/docker-compose.yml +++ b/quote-semantic-search/docker-compose.yml @@ -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" @@ -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: {} \ No newline at end of file