Hallo,
ich habe eine Metasfresh Instanz mit folgender config am laufen:
db:
build: db
container_name: db
hostname: db
volumes:
- ./volumes/db/data:/var/lib/postgresql/data
- ./volumes/db/log:/var/log/postgresql
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
- METASFRESH_USERNAME=metasfresh
- METASFRESH_PASSWORD=metasfresh
- METASFRESH_DBNAME=metasfresh
- DB_SYSPASS=System
- POSTGRES_PASSWORD=ip2LmNzXX8p8iXg9lZTWEJ9524kQDbXFudB7LR03T-xK9fLweX3TLMkA2AYcEiaS
restart: always
app:
build: app
container_name: app
hostname: app
links:
- db:db
- rabbitmq:rabbitmq
- search:search
expose:
- "8282"
- "61616"
- "8788"
volumes:
- ./volumes/app/log:/opt/metasfresh/log:rw
- ./volumes/app/heapdump:/opt/metasfresh/heapdump:rw
- ./volumes/app/reports:/opt/metasfresh/reports:rw
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
- METASFRESH_HOME=/opt/metasfresh
restart: always
webapi:
build: webapi
container_name: webapi
hostname: webapi
links:
- app:app
- db:db
- rabbitmq:rabbitmq
- search:search
expose:
- "8789"
ports:
- "8080:8080"
volumes:
- ./volumes/webapi/log:/opt/metasfresh-webui-api/log:rw
- ./volumes/webapi/heapdump:/opt/metasfresh-webui-api/heapdump:rw
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
restart: always
webui:
build: webui
container_name: webui
hostname: webui
links:
- webapi:webapi
ports:
- "80:80"
- "443:443"
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
- WEBAPI_URL=http://10.16.0.105
restart: always
rabbitmq:
build: rabbitmq
container_name: rabbitmq
hostname: rabbitmq
expose:
- "5672"
volumes:
- ./volumes/rabbitmq/log:/var/log/rabbitmq/log
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
RABBITMQ_DEFAULT_USER: "metasfresh"
RABBITMQ_DEFAULT_PASS: "metasfresh"
RABBITMQ_DEFAULT_VHOST: "/"
restart: always
search:
build: search
container_name: search
hostname: search
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK
ports:
- "9200:9200"
- "9300:9300"
volumes:
- ./volumes/search/data:/usr/share/elasticsearch/data
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
- "ES_JAVA_OPTS=-Xms128M -Xmx256m"
restart: always
Das ERP-System funktioniert super aber ich habe zwei kleine Probleme
Problem 1:
Das kleiner Übel ist im Dashboard, wenn ich eine Box hinzufügen möchte kommt der Fehler:
Elasticsearch feature is not active
Problem 2:
Das goße Übel. Wenn ich ein Ausdruck z. B. von einer Rechnung machen möchte kommt eine Fehler seite mit dem Inhalt:
Whitelabel Error Page
There was an unexpected error (type=Internal Server Error, status=500).
ServiceConnectionException: org.springframework.web.client.ResourceAccessException: I/O error on GET request for “http://FOOBAR:8080/adempiereJasper/ReportServlet”
Okay der Fehler ist sehr verständlich aber wo zur hölle steht FOOBAR in der config??? Und ja dieser Fehler wurde schonmal beantworet aber das war im Jahr 2017, seit dem hat sich da ein bisschen was geändert.
Über Support wäre ich euch sehr Dankbar
Systeminfo:
Ubuntu 20.04 LTS,
Docker version 20.10.7 build f0df350,
Docker-Compose version 1.26.0 build d4451659