Hi all,
I am trying to dockerize Dundas BI following the official guide.
I am able to successfully set up the database container as well as the “setup” container using the following docker-compose manifest:
version: '3.7'
services:
dundas-bi-db:
container_name: dundas-bi-db
image: postgres:13-alpine
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=***
volumes:
- /path/to/my/local/folder:/var/lib/postgresql/data:rw
dundas-bi-setup:
container_name: dundas-bi-setup
image: dundas/dundas-bi-setup:10
environment:
- A160BB4E4AE416297A0AAC7FACFCB751=HandleDatabase
- DUNDAS_BI_DOCKER_EMAIL=***
- DUNDAS_BI_DOCKER_KEY=***
- DUNDAS_BI_ADMIN_PASSWORD=***
- DUNDAS_BI_SETUP_ORCHESTRATOR_URL=
- DUNDAS_BI_APP_STORAGE=Postgres
- DUNDAS_BI_APP_DB_CONN_STRING=Server=dundas-bi-db;Port=5432;Database=dundas-bi;Username=postgres;Password=***
links:
- dundas-bi-db
Then I try to start the Dundas BI services using:
version: '3.7'
services:
dundas-bi-website:
container_name: dundas-bi-website
image: dundas/dundas-bi-website:10
environment:
- DUNDAS_BI_INTERNAL_APPLICATION_URL=http://localhost:9010/
- DUNDAS_BI_EXTERNAL_APPLICATION_URL=http://localhost:9010/
- DUNDAS_BI_APP_STORAGE=Postgres
- DUNDAS_BI_APP_DB_CONN_STRING=Server=dundas-bi-db;Port=5432;Database=dundas-bi;Username=postgres;Password=***
expose:
- '8080'
dundas-bi-scheduler:
container_name: dundas-bi-scheduler
image: dundas/dundas-bi-scheduler:10
environment:
- DUNDAS_BI_APP_STORAGE=Postgres
- DUNDAS_BI_APP_DB_CONN_STRING=Server=dundas-bi-db;Port=5432;Database=dundas-bi;Username=postgres;Password=***
dundas-bi-authbridge:
container_name: dundas-bi-authbridge
image: dundas/dundas-bi-authbridge:10
environment:
- DUNDAS_BI_APP_STORAGE=Postgres
- DUNDAS_BI_APP_DB_CONN_STRING=Server=dundas-bi-db;Port=5432;Database=dundas-bi;Username=postgres;Password=***
dundas-bi-proxy:
container_name: dundas-bi-proxy
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- dundas-bi-website
ports:
- '9010:80'
but the container dundas-bi-website
fails with the error
The dbi.config file does not exist. The application will not be started.
Also the container dundas-bi-scheduler
seems to raise some errors like
[Err] [Framework.Scheduler] 2900: The Scheduler service encountered an error connecting to the Dundas BI server at http://f68a9629b4e8/. Name or service not known (f68a9629b4e8:80) Ensure the value for the ‘Internal Application URL’ configuration setting is correct.
Although I am not sure if this error is actually a consequence of the previous one.
For completeness I attach the dundas-bi-proxy
configuration as well:
user nginx;
events {
worker_connections 1000;
}
http {
server {
listen 80;
location /AuthBridge/ {
proxy_pass http://dundas-bi-authbridge:8080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Proxy-BaseUri /AuthBridge;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_connect_timeout 86400;
proxy_send_timeout 86400;
proxy_read_timeout 86400;
send_timeout 86400;
client_max_body_size 500M;
}
location / {
proxy_pass http://dundas-bi-website:8080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $http_host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 86400;
proxy_send_timeout 86400;
proxy_read_timeout 86400;
send_timeout 86400;
client_max_body_size 500M;
}
}
}
Have you ever faced a similar issue?
Many thanks in advance.
Gaetano