- Improvements working with the cloud, minio, graylog and some first bugfixing
This commit is contained in:
@@ -20,16 +20,26 @@ x-common-variables: &common-variables
|
||||
SECURITY_PASSWORD_SALT: '166448071751628781809462050022558634074'
|
||||
MAIL_USERNAME: 'evie_admin@askeveai.com'
|
||||
MAIL_PASSWORD: 's5D%R#y^v!s&6Z^i0k&'
|
||||
REDIS_USER: admin
|
||||
REDIS_PASS: 'b32vtDtLriSY1fL2zGrZg8IZKI0g9ucsLtVNanRFAras6oZ51wjVNB1Y05uG7uEw'
|
||||
REDIS_USER: eveai
|
||||
REDIS_PASS: 'jHliZwGD36sONgbm0fc6SOpzLbknqq4RNF8K'
|
||||
REDIS_URL: 8bciqc.stackhero-network.com
|
||||
REDIS_PORT: '9961'
|
||||
OPENAI_API_KEY: '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'
|
||||
GROQ_API_KEY: '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'
|
||||
ANTHROPIC_API_KEY: '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'
|
||||
PORTKEY_API_KEY: '3C+zAGR8pCalevBXFVc0l8R2MPYc'
|
||||
PORTKEY_API_KEY: 'XvmvBFIVbm76opUxA7MNP14QmdQj'
|
||||
JWT_SECRET_KEY: '0d99e810e686ea567ef305d8e9b06195c4db482952e19276590a726cde60a408'
|
||||
API_ENCRYPTION_KEY: 'Ly5XYWwEKiasfAwEqdEMdwR-k0vhrq6QPYd4whEROB0='
|
||||
GRAYLOG_HOST: de4zvu.stackhero-network.com
|
||||
GRAYLOG_PORT: '12201'
|
||||
MINIO_ENDPOINT: 'fxwnyl.stackhero-network.com:443'
|
||||
MINIO_ACCESS_KEY: 04JKmQln8PQpyTmMiCPc
|
||||
MINIO_SECRET_KEY: 2PEZAD1nlpAmOyDV0TUTuJTQw1qVuYLF3A7GMs0D
|
||||
NGINX_SERVER_NAME: 'evie.askeveai.com mxz536.stackhero-network.com'
|
||||
|
||||
networks:
|
||||
eveai-network:
|
||||
driver: bridge
|
||||
|
||||
services:
|
||||
nginx:
|
||||
@@ -38,19 +48,25 @@ services:
|
||||
ports:
|
||||
- 80:80
|
||||
- 8080:8080
|
||||
environment:
|
||||
<<: *common-variables
|
||||
volumes:
|
||||
# - ../nginx:/etc/nginx
|
||||
# - ../nginx/sites-enabled:/etc/nginx/sites-enabled
|
||||
# - ../nginx/static:/etc/nginx/static
|
||||
# - ../nginx/public:/etc/nginx/public
|
||||
- logs:/var/log/nginx
|
||||
- eveai_logs:/var/log/nginx
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.api.rule=Host(`evie.askeveai.com`)"
|
||||
- "traefik.http.routers.nginx.rule=Host(`evie.askeveai.com`) || Host(`mxz536.stackhero-network.com`)"
|
||||
- "traefik.http.routers.nginx.entrypoints=web,websecure"
|
||||
- "traefik.http.routers.nginx.tls.certresolver=myresolver"
|
||||
- "traefik.http.services.nginx.loadbalancer.server.port=80"
|
||||
depends_on:
|
||||
- eveai_app
|
||||
- eveai_chat
|
||||
networks:
|
||||
- eveai-network
|
||||
|
||||
eveai_app:
|
||||
platform: linux/amd64
|
||||
@@ -59,14 +75,16 @@ services:
|
||||
- 5001:5001
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_app
|
||||
volumes:
|
||||
- logs:/app/logs
|
||||
- eveai_logs:/app/logs
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
command: ["sh", "-c", "scripts/start_eveai_app.sh"]
|
||||
networks:
|
||||
- eveai-network
|
||||
|
||||
eveai_workers:
|
||||
platform: linux/amd64
|
||||
@@ -75,14 +93,16 @@ services:
|
||||
# - 5001:5001
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_workers
|
||||
volumes:
|
||||
- logs:/app/logs
|
||||
- eveai_logs:/app/logs
|
||||
# healthcheck:
|
||||
# test: [ "CMD", "curl", "-f", "http://localhost:5001/health" ]
|
||||
# interval: 10s
|
||||
# timeout: 5s
|
||||
# retries: 5
|
||||
command: [ "sh", "-c", "scripts/start_eveai_workers.sh" ]
|
||||
networks:
|
||||
- eveai-network
|
||||
|
||||
eveai_chat:
|
||||
platform: linux/amd64
|
||||
@@ -91,14 +111,16 @@ services:
|
||||
- 5002:5002
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_chat
|
||||
volumes:
|
||||
- logs:/app/logs
|
||||
- eveai_logs:/app/logs
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:5002/health" ] # Adjust based on your health endpoint
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
command: ["sh", "-c", "scripts/start_eveai_chat.sh"]
|
||||
networks:
|
||||
- eveai-network
|
||||
|
||||
eveai_chat_workers:
|
||||
platform: linux/amd64
|
||||
@@ -107,18 +129,19 @@ services:
|
||||
# - 5001:5001
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_chat_workers
|
||||
volumes:
|
||||
- logs:/app/logs
|
||||
- eveai_logs:/app/logs
|
||||
# healthcheck:
|
||||
# test: [ "CMD", "curl", "-f", "http://localhost:5001/health" ]
|
||||
# interval: 10s
|
||||
# timeout: 5s
|
||||
# retries: 5
|
||||
command: [ "sh", "-c", "scripts/start_eveai_chat_workers.sh" ]
|
||||
|
||||
networks:
|
||||
- eveai-network
|
||||
|
||||
volumes:
|
||||
logs:
|
||||
eveai_logs:
|
||||
# miniAre theo_data:
|
||||
# db-data:
|
||||
# redis-data:
|
||||
|
||||
Reference in New Issue
Block a user