Skip to content

Commit

Permalink
discord-analyzer development
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored Nov 9, 2023
1 parent b929302 commit a8aa609
Showing 1 changed file with 66 additions and 3 deletions.
69 changes: 66 additions & 3 deletions development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a8aa609

Please sign in to comment.