diff --git a/development/docker-compose.yml b/development/docker-compose.yml index 1a517e8..e162322 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -174,7 +174,7 @@ services: <<: *logging discord-analyzer-server: - image: ghcr.io/togethercrew/discord-analyzer:pr-18 + image: ghcr.io/togethercrew/discord-analyzer:development command: python3 server.py restart: unless-stopped env_file: @@ -190,7 +190,7 @@ services: <<: *logging discord-analyzer-worker: - image: ghcr.io/togethercrew/discord-analyzer:pr-18 + image: ghcr.io/togethercrew/discord-analyzer:development command: python3 worker.py restart: unless-stopped env_file: @@ -268,7 +268,70 @@ services: - development - monitoring <<: *logging - + + hivemind-vector-server: + image: ghcr.io/kamikazebr/qabot:main-vector_server + depends_on: + rabbitmq-dev: + condition: service_healthy + hivemind-vector-redis: + condition: service_healthy + hivemind-vector-worker: + condition: service_healthy + env_file: + - .hivemind.vector-server.env + networks: + - hivemind + - monitoring + <<: *logging + hivemind-vector-worker: + image: ghcr.io/kamikazebr/qabot:main-vector_server + env_file: + - .hivemind.vector-worker.env + depends_on: + hivemind-vector-redis: + condition: service_healthy + command: celery -A tasks.celery worker -c 1 --hostname celery --loglevel=info + healthcheck: + test: ["CMD", "celery", "inspect", "ping", "-A", "tasks.add", "-d" "celery@celery"] + interval: 60s + timeout: 10s + retries: 2 + start_period: 10s + networks: + - hivemind + - monitoring + <<: *logging + hivemind-vector-redis: + image: redis:7.0.11 + restart: unless-stopped + command: [ "redis-server", "/usr/local/etc/redis/redis.conf" ] + volumes: + - type: bind + source: ./redis/hivemind.vector.conf + target: /usr/local/etc/redis/redis.conf + read_only: true + healthcheck: + test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ] + interval: 60s + timeout: 10s + retries: 2 + start_period: 40s + networks: + - hivemind + - monitoring + <<: *logging + hivemind-api: + image: ghcr.io/kamikazebr/qabot:main-ml + env_file: + - .hivemind.api.env + networks: + - hivemind + - development + - monitoring + <<: *logging + + volumes: mongodb_data_container: