Basic Setup¶
This description uses docker compose
as orchestration tool. You can find further documentation for that here.
A basic setup needs containers for:
- Middleware
- Clients
- Database
- Elasticsearch
- Minio
Environment¶
# .env-file
INSIGHT_VERSION=32.x.y
DB_PASS=...
DB_ROOT_PASS=...
S3_URL=https://s3.api.domain.example
S3_KEY=...
S3_SECRET=...
# Optional
S3_BUCKET_PREFIX=...
Compose¶
# docker-compose.yaml
volumes:
data-db:
driver: local
data-elastic:
driver: local
data-s3:
driver: local
data-insight:
driver: local
lib-bs:
driver: local
services:
db:
environment:
- MARIADB_ROOT_PASSWORD=${DB_ROOT_PASS}
- MARIADB_PASSWORD=${DB_PASS}
image: rodias.azurecr.io/insight-db:${INSIGHT_VERSION}
networks:
default:
aliases:
- insight-db
ports:
- 3306:3306
restart: always
volumes:
- data-db:/var/lib/mysql
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:8.13.2
environment:
- discovery.type=single-node
networks:
default:
aliases:
- insight-es
ports:
- 9200:9200
restart: always
volumes:
- data-elastic:/usr/share/elasticsearch/data
s3:
image: minio/minio
command: server /data --console-address ":9001"
environment:
MINIO_BROWSER_LOGIN_ANIMATION: off
ports:
- 9000:9000
- 9001:9001
volumes:
- data-s3:/data
middleware:
environment:
- INSIGHT_JDBC_PASS=${DB_PASS}
- INSIGHT_S3_URL=${S3_URL}
- INSIGHT_S3_KEY=${S3_KEY}
- INSIGHT_S3_SECRET=${S3_SECRET}
- INSIGHT_S3_BUCKET_PREFIX=${S3_BUCKET_PREFIX} ## optional
image: rodias.azurecr.io/insight:${INSIGHT_VERSION}
ports:
- 8080:8080
restart: always
volumes:
- data-insight:/insight
clients:
image: rodias.azurecr.io/insight-clients:${INSIGHT_VERSION}
ports:
- 80:8080
business-suite:
environment:
- INSIGHT_ENABLE_CONSOLE_LOGGING=true
- INSIGHT_JDBC_PASS=${DB_PASS}
- INSIGHT_SUITE_NAME=business-suite
- INSIGHT_S3_URL=${S3_URL}
- INSIGHT_S3_KEY=${S3_KEY}
- INSIGHT_S3_SECRET=${S3_SECRET}
- INSIGHT_S3_BUCKET_PREFIX=${S3_BUCKET_PREFIX} ## optional
image: registry.ibfs.de/insight-datasource:${INSIGHT_VERSION}
volumes:
- lib-bs:/opt/jboss/wildfly/standalone/insight-datasource-adapter