Skip to content

Commit

Permalink
Build: added index creation server for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ToreMerkely committed Nov 1, 2023
1 parent 2d00575 commit 2823175
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,28 @@ services:
ports:
- 5001:5000

server:
server-index:
networks: [ cli_net ]
depends_on: [ mongo_rs_initiate, minio ]
image: 772819027869.dkr.ecr.eu-central-1.amazonaws.com/merkely:latest
command: /app/src/documentdb/wait_till_ready_or_raise.py
container_name: cli_kosli_server-index
read_only: true
env_file: [ "./mongo/mongo.env" ]
stop_signal: SIGINT
tmpfs:
- /tmp

server:
networks: [ cli_net ]
depends_on:
mongo_rs_initiate:
condition: service_started
minio:
condition: service_started
server-index:
condition: service_completed_successfully
image: 772819027869.dkr.ecr.eu-central-1.amazonaws.com/merkely:latest
env_file: [ "./mongo/mongo.env" ]
environment:
KOSLI_HOSTNAME: localhost
Expand Down

0 comments on commit 2823175

Please sign in to comment.