- Corrections for setting up the test environment
- Correction of some bugs discovered
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
# https://github.com/docker/awesome-compose
|
||||
|
||||
x-common-variables: &common-variables
|
||||
DB_HOST: db
|
||||
DB_HOST: minty.ask-eve-ai-local.com
|
||||
DB_USER: luke
|
||||
DB_PASS: 'Skywalker!'
|
||||
DB_NAME: eveai
|
||||
@@ -53,6 +53,7 @@ services:
|
||||
- eveai_api
|
||||
networks:
|
||||
- eveai-network
|
||||
restart: "no"
|
||||
|
||||
eveai_app:
|
||||
image: josakola/eveai_app:${EVEAI_VERSION:-latest}
|
||||
@@ -67,8 +68,6 @@ services:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
minio:
|
||||
@@ -81,6 +80,7 @@ services:
|
||||
start_period: 30s
|
||||
networks:
|
||||
- eveai-network
|
||||
restart: "no"
|
||||
|
||||
eveai_workers:
|
||||
image: josakola/eveai_workers:${EVEAI_VERSION:-latest}
|
||||
@@ -93,14 +93,13 @@ services:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
minio:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- eveai-network
|
||||
restart: "no"
|
||||
|
||||
eveai_chat_workers:
|
||||
image: josakola/eveai_chat_workers:${EVEAI_VERSION:-latest}
|
||||
@@ -113,12 +112,11 @@ services:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- eveai-network
|
||||
restart: "no"
|
||||
|
||||
eveai_api:
|
||||
image: josakola/eveai_api:${EVEAI_VERSION:-latest}
|
||||
@@ -133,8 +131,6 @@ services:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
minio:
|
||||
@@ -147,6 +143,7 @@ services:
|
||||
start_period: 30s
|
||||
networks:
|
||||
- eveai-network
|
||||
restart: "no"
|
||||
|
||||
eveai_beat:
|
||||
image: josakola/eveai_beat:${EVEAI_VERSION:-latest}
|
||||
@@ -161,6 +158,7 @@ services:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- eveai-network
|
||||
restart: "no"
|
||||
|
||||
eveai_entitlements:
|
||||
image: josakola/eveai_entitlements:${EVEAI_VERSION:-latest}
|
||||
@@ -173,39 +171,17 @@ services:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
minio:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- eveai-network
|
||||
|
||||
db:
|
||||
hostname: db
|
||||
image: ankane/pgvector
|
||||
ports:
|
||||
- 5432:5432
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_DB=eveai
|
||||
- POSTGRES_USER=luke
|
||||
- POSTGRES_PASSWORD=Skywalker!
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
- ./docker/db/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -d eveai -U luke" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- eveai-network
|
||||
restart: "no"
|
||||
|
||||
redis:
|
||||
image: redis:7.2.5
|
||||
restart: always
|
||||
restart: no
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
@@ -228,6 +204,7 @@ services:
|
||||
- redis
|
||||
networks:
|
||||
- eveai-network
|
||||
restart: "no"
|
||||
|
||||
minio:
|
||||
image: minio/minio
|
||||
@@ -251,14 +228,14 @@ services:
|
||||
start_period: 30s
|
||||
networks:
|
||||
- eveai-network
|
||||
restart: "no"
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
image: josakola/prometheus:${EVEAI_VERSION:-latest}
|
||||
container_name: prometheus
|
||||
ports:
|
||||
- "9090:9090"
|
||||
volumes:
|
||||
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
- prometheusdata:/prometheus
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
@@ -266,7 +243,7 @@ services:
|
||||
- '--web.console.libraries=/etc/prometheus/console_libraries'
|
||||
- '--web.console.templates=/etc/prometheus/consoles'
|
||||
- '--web.enable-lifecycle'
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
networks:
|
||||
- eveai-network
|
||||
|
||||
@@ -279,18 +256,17 @@ services:
|
||||
- eveai-network
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana:latest
|
||||
image: josakola/grafana:${EVEAI_VERSION:-latest}
|
||||
container_name: grafana
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./docker/grafana/provisioning:/etc/grafana/provisioning
|
||||
- grafanadata:/var/lib/grafana
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=admin
|
||||
- GF_SECURITY_ADMIN_PASSWORD=admin
|
||||
- GF_USERS_ALLOW_SIGN_UP=false
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
depends_on:
|
||||
- prometheus
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user