Skip to content

Commit

Permalink
⭕ updating docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
kamikazebr committed Oct 30, 2023
1 parent 59c969f commit 1eeb5c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
18 changes: 2 additions & 16 deletions packages/ml/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,10 @@ networks:
name: vector_server_default
services:
hivemind_api:
image: ghcr.io/kamikazebr/qabot:dev
image: ghcr.io/kamikazebr/qabot:main-ml
ports:
- 3333:3333
networks:
- vector_server_default
env_file:
- .env

# reverse-proxy:
# # The official v2 Traefik docker image
# image: traefik:v2.10
# # Enables the web UI and tells Traefik to listen to docker
# command: --api.insecure=true --providers.docker
# ports:
# # The HTTP port
# - "80:80"
# # The Web UI (enabled by --api.insecure=true)
# - "8282:8080"
# volumes:
# # So that Traefik can listen to the Docker events
# - /var/run/docker.sock:/var/run/docker.sock
- .env
2 changes: 1 addition & 1 deletion packages/vector_server/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
depends_on:
- redis
volumes:
- ./vector_store/:/project/pkgs/vector_store/
- ./vector_store/:/project/vector_store/
command: celery -A tasks.celery worker -c 1 --hostname celery --loglevel=info
redis:
image: redis:latest
Expand Down
11 changes: 3 additions & 8 deletions packages/vector_server/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
version: "3"
services:
vector_api:
image: ghcr.io/kamikazebr/qabot:main-vector_server
ports:
- 1234:1234
build:
context: .
dockerfile: Dockerfile
depends_on:
- rabbitmq
- redis
- celery_worker
env_file:
- .env
celery_worker:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/kamikazebr/qabot:main-vector_server
env_file:
- .env
depends_on:
- redis
volumes:
- ./vector_store/:/project/pkgs/vector_store/
command: celery -A tasks.celery worker -c 1 --hostname celery --loglevel=info

redis:
image: redis:latest
ports:
Expand Down

0 comments on commit 1eeb5c9

Please sign in to comment.