0% found this document useful (0 votes)
3 views2 pages

Docker Compose for NexAI Stack

The document outlines a Docker Compose configuration for multiple services including Elasticsearch, ElasticVue, Grafana, and Neo4j, each with specific settings such as image versions, ports, environment variables, and health checks. It also includes Traefik labels for routing and service management. The services are interconnected through a shared network named 'nexai' and have defined volume mappings for data persistence.

Uploaded by

Fatine AMOURI
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Docker Compose for NexAI Stack

The document outlines a Docker Compose configuration for multiple services including Elasticsearch, ElasticVue, Grafana, and Neo4j, each with specific settings such as image versions, ports, environment variables, and health checks. It also includes Traefik labels for routing and service management. The services are interconnected through a shared network named 'nexai' and have defined volume mappings for data persistence.

Uploaded by

Fatine AMOURI
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

nexai-elastic:

image: elasticsearch:8.17.0
container_name: nexai-elastic
ports:
- 9200:9200
- 9300:9300
networks:
- nexai
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- ELASTIC_USERNAME=elastic
- ELASTIC_PASSWORD=elastic
- [Link]=single-node
- [Link]-origin="*"
- [Link]=true
- [Link]-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-
Length,Authorization
- [Link]-credentials=true
healthcheck:
test: curl -s [Link] >/dev/null || exit 1
interval: 30s
timeout: 10s
retries: 5
start_period: 1m
volumes:
- ./volume/elasticsearch/data:/usr/share/elasticsearch/data
- ./volume/elasticsearch/logs:/usr/share/elasticsearch/logs
labels:
- "[Link]=true"
- "[Link]=Host(`localhost`) && PathPrefix(`/es`)"
- "[Link]=/es"
- "[Link]=es-strip"
- "[Link]=eschain@docker"
- "[Link]=9200"

nexai-elasticvue:
image: cars10/elasticvue:1.4.0
container_name: nexai-elasticvue
ports:
- 7777:8080
networks:
- nexai
depends_on:
nexai-elastic:
condition: service_healthy
labels:
- "[Link]=true"
- "[Link]=Host(`localhost`) &&
(PathPrefix(`/welcome`) || PathPrefix(`/cluster`) || PathPrefix(`/assets`) ||
PathPrefix(`/[Link]`))"
- "[Link]=elasticvue"
- "[Link]=8080"

nexai-grafana:
image: grafana/grafana-enterprise:11.4.0
container_name: nexai-grafana
ports:
- 3000:3000
networks:
- nexai
environment:
- GF_SECURITY_ADMIN_USER=grafana
- GF_SECURITY_ADMIN_PASSWORD=grafana
- GF_SERVER_ROOT_URL=[Link]
- GF_SERVER_SERVE_FROM_SUB_PATH=true
healthcheck:
test: ["CMD", "curl", "-f", "[Link]
interval: 30s
timeout: 3s
retries: 5
start_period: 1m
depends_on:
nexai-elastic:
condition: service_healthy
volumes:
- ./volume/grafana/data:/var/lib/grafana/
- ./volume/grafana/config/provisioning/:/etc/grafana/provisioning/
- ./volume/grafana/logs/:/var/log/grafana
labels:
- "[Link]=true"
- "[Link]=Host(`localhost`) &&
PathPrefix(`/grafana`)"
- "[Link]=grafana"
- "[Link]=3000"

nexai-neo4j:
image: neo4j:latest
container_name: nexai-neo4j
ports:
- "7474:7474"
- "7687:7687"
networks:
- nexai
environment:
- NEO4J_AUTH=neo4j/neo4j@2025
volumes:
- ./volume/neo4j/logs:/logs
- ./volume/neo4j/config:/config
- ./volume/neo4j/data:/data
- ./volume/neo4j/plugins:/plugins
labels:
- "[Link]=true"
- "[Link]=Host(`localhost`) &&
PathPrefix(`/browser`)"
- "[Link]=neo4j"
- "[Link]=7474"

You might also like