Migration to podman. Dev is OK, certificate problem with test
This commit is contained in:
@@ -43,36 +43,36 @@ x-common-variables: &common-variables
|
||||
SW_EMAIL_NAME: "Evie Admin (test)"
|
||||
SW_PROJECT: "f282f55a-ea52-4538-a979-5bcb890717ab"
|
||||
|
||||
name: eveai_test
|
||||
|
||||
services:
|
||||
nginx:
|
||||
image: josakola/nginx:${EVEAI_VERSION:-latest}
|
||||
image: josakola/nginx:latest
|
||||
ports:
|
||||
- 80:80
|
||||
- 8080:8080
|
||||
- 4080:80
|
||||
environment:
|
||||
<<: *common-variables
|
||||
volumes:
|
||||
- eveai_logs:/var/log/nginx
|
||||
- test_eveai_logs:/var/log/nginx
|
||||
depends_on:
|
||||
- eveai_app
|
||||
- eveai_api
|
||||
- eveai_chat_client
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
eveai_app:
|
||||
image: josakola/eveai_app:${EVEAI_VERSION:-latest}
|
||||
image: josakola/eveai_app:latest
|
||||
ports:
|
||||
- 5001:5001
|
||||
- 4001:5001
|
||||
expose:
|
||||
- 8000
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_app
|
||||
volumes:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
- test_eveai_logs:/app/logs
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
@@ -85,40 +85,38 @@ services:
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
eveai_workers:
|
||||
image: josakola/eveai_workers:${EVEAI_VERSION:-latest}
|
||||
image: josakola/eveai_workers:latest
|
||||
expose:
|
||||
- 8000
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_workers
|
||||
volumes:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
- test_eveai_logs:/app/logs
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
minio:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
eveai_chat_client:
|
||||
image: josakola/eveai_chat_client:${EVEAI_VERSION:-latest}
|
||||
image: josakola/eveai_chat_client:latest
|
||||
ports:
|
||||
- 5004:5004
|
||||
- 4004:5004
|
||||
expose:
|
||||
- 8000
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_chat_client
|
||||
volumes:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
- test_eveai_logs:/app/logs
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
@@ -131,38 +129,36 @@ services:
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
eveai_chat_workers:
|
||||
image: josakola/eveai_chat_workers:${EVEAI_VERSION:-latest}
|
||||
image: josakola/eveai_chat_workers:latest
|
||||
expose:
|
||||
- 8000
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_chat_workers
|
||||
volumes:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
- test_eveai_logs:/app/logs
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
eveai_api:
|
||||
image: josakola/eveai_api:${EVEAI_VERSION:-latest}
|
||||
image: josakola/eveai_api:latest
|
||||
ports:
|
||||
- 5003:5003
|
||||
- 4003:5003
|
||||
expose:
|
||||
- 8000
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_api
|
||||
volumes:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
- test_eveai_logs:/app/logs
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
@@ -175,80 +171,78 @@ services:
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
eveai_beat:
|
||||
image: josakola/eveai_beat:${EVEAI_VERSION:-latest}
|
||||
image: josakola/eveai_beat:latest
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_beat
|
||||
volumes:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
- test_eveai_logs:/app/logs
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
eveai_entitlements:
|
||||
image: josakola/eveai_entitlements:${EVEAI_VERSION:-latest}
|
||||
image: josakola/eveai_entitlements:latest
|
||||
expose:
|
||||
- 8000
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_entitlements
|
||||
volumes:
|
||||
- eveai_logs:/app/logs
|
||||
- crewai_storage:/app/crewai_storage
|
||||
- test_eveai_logs:/app/logs
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
minio:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
redis:
|
||||
image: redis:7.2.5
|
||||
restart: no
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "4006:6379"
|
||||
volumes:
|
||||
- redisdata:/data
|
||||
- test_redisdata:/data
|
||||
healthcheck:
|
||||
test: [ "CMD", "redis-cli", "ping" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
|
||||
flower:
|
||||
image: josakola/flower:${EVEAI_VERSION:-latest}
|
||||
image: josakola/flower:latest
|
||||
environment:
|
||||
<<: *common-variables
|
||||
ports:
|
||||
- "5555:5555"
|
||||
- "4007:5555"
|
||||
depends_on:
|
||||
- redis
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
minio:
|
||||
image: minio/minio
|
||||
ports:
|
||||
- "9000:9000"
|
||||
- "9001:9001"
|
||||
- "4008:9000"
|
||||
- "4009:9001"
|
||||
expose:
|
||||
- 9000
|
||||
volumes:
|
||||
- miniodata:/data
|
||||
- minioconfig:/root/.minio
|
||||
- test_miniodata:/data
|
||||
- test_minioconfig:/root/.minio
|
||||
environment:
|
||||
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-minioadmin}
|
||||
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-minioadmin}
|
||||
@@ -260,16 +254,16 @@ services:
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
restart: "no"
|
||||
|
||||
prometheus:
|
||||
image: josakola/prometheus:${EVEAI_VERSION:-latest}
|
||||
container_name: prometheus
|
||||
ports:
|
||||
- "9090:9090"
|
||||
- "4010:9090"
|
||||
volumes:
|
||||
- prometheusdata:/prometheus
|
||||
- test_prometheusdata:/prometheus
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
- '--storage.tsdb.path=/prometheus'
|
||||
@@ -278,23 +272,23 @@ services:
|
||||
- '--web.enable-lifecycle'
|
||||
restart: no
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
|
||||
pushgateway:
|
||||
image: prom/pushgateway:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9091:9091"
|
||||
- "4011:9091"
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
|
||||
grafana:
|
||||
image: josakola/grafana:${EVEAI_VERSION:-latest}
|
||||
container_name: grafana
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "4012:3000"
|
||||
volumes:
|
||||
- grafanadata:/var/lib/grafana
|
||||
- test_grafanadata:/var/lib/grafana
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=admin
|
||||
- GF_SECURITY_ADMIN_PASSWORD=admin
|
||||
@@ -303,21 +297,16 @@ services:
|
||||
depends_on:
|
||||
- prometheus
|
||||
networks:
|
||||
- eveai-network
|
||||
- eveai-test-network
|
||||
|
||||
networks:
|
||||
eveai-network:
|
||||
eveai-test-network:
|
||||
driver: bridge
|
||||
# This enables the containers to access the host network
|
||||
driver_opts:
|
||||
com.docker.network.bridge.host_ipc: "true"
|
||||
|
||||
volumes:
|
||||
eveai_logs:
|
||||
pgdata:
|
||||
redisdata:
|
||||
miniodata:
|
||||
minioconfig:
|
||||
prometheusdata:
|
||||
grafanadata:
|
||||
crewai_storage:
|
||||
test_eveai_logs:
|
||||
test_redisdata:
|
||||
test_miniodata:
|
||||
test_minioconfig:
|
||||
test_prometheusdata:
|
||||
test_grafanadata:
|
||||
|
||||
Reference in New Issue
Block a user