17 Commits
Author SHA1 Message Date
Tobias Schöneberg 4fc653d5cd add special auto-vacuum settings for further tables
to avoid situations where the DB is wastes time skipping over outdated rows, that are not yet vacuumed
Thx to https://medium.com/contactually-engineering/postgres-at-scale-query-performance-and-autovacuuming-for-large-tables-d7e8ad40b16b
2020-10-14 08:57:39 +02:00
metas-dev 6e15d2d111 update new release 5.61 2018-06-15 14:32:56 +02:00
metas-dev 4446fa2847 update new release 5.60 2018-06-08 15:03:55 +02:00
metas-dev 4b2dda7bb4 update new release 5.59 2018-06-01 16:51:25 +02:00
metas-dev 4a91741e84 update new release 5.58 2018-05-25 15:31:16 +02:00
metas-dev 7d851f2d71 update new release 5.57 2018-05-18 17:31:33 +02:00
metas-dev a21095312f update new release 5.56 2018-05-11 16:36:04 +02:00
Tobias Schöneberg ffb5e7ddc3 Merge pull request #38 from n3w/master
updating javaclient.yml with rabbitmq configs
2018-05-08 11:10:05 +02:00
Norbert Wagner 7c0f07e8e5 updating javaclient.yml with rabbitmq configs 2018-05-07 22:06:43 +02:00
metas-dev a09ae838ec update new release 5.55 2018-05-04 16:58:08 +02:00
metas-dev 4dace546bd update new release 5.54 2018-04-27 15:25:56 +02:00
Julian Bischof a44d4bef2b Merge pull request #37 from metasfresh/gh36
add internally exposed ports for debugging
2018-04-24 14:51:42 +02:00
metas-dev eead078c98 update new release 5.53 2018-04-20 15:25:41 +02:00
Julian Bischof a4ec9b4cdf remove superfluous space caharacter in application.properties
removed a space character after `spring.rabbitmq.password=metasfresh` which prevented authentication to container `rabbitmq`
2018-04-18 14:43:13 +02:00
Julian Bischof 693bf63624 Merge pull request #35 from metasfresh/gh33
#33 add rabbitmq to Dockerfile and docker-compose
2018-04-17 12:08:19 +02:00
jb 11b647e00e change rabbitmq version to fixed version in Dockerfile 2018-04-11 16:13:41 +02:00
jb 574087e073 #33 add rabbitmq to Dockerfile and docker-compose 2018-04-11 15:14:22 +02:00
25 changed files with 269 additions and 171854 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM metasfresh/metasfresh-app:5.52
FROM metasfresh/metasfresh-app:5.61
COPY sources/configs/* /opt/metasfresh/
COPY sources/start_app.sh /opt/metasfresh/
+7 -3
View File
@@ -1,8 +1,12 @@
server.port=8282
# issue https://github.com/metasfresh/metasfresh/issues/3772
# disable rabbitmq until it's contained in this stack
spring.profiles.active=eventbus_activemq
# --------------------------------------------------------------------------------
# RabbitMQ
# --------------------------------------------------------------------------------
spring.rabbitmq.host=rabbitmq
spring.rabbitmq.port=5672
spring.rabbitmq.username=metasfresh
spring.rabbitmq.password=metasfresh
# --------------------------------------------------------------------------------
# Elasticsearch
+1 -1
View File
@@ -1,4 +1,4 @@
FROM metasfresh/metasfresh-db:5.52
FROM metasfresh/metasfresh-db:5.61
RUN localedef -i de_DE -c -f UTF-8 -A /usr/share/locale/locale.alias de_DE.UTF-8
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
+15
View File
@@ -16,6 +16,7 @@ app:
hostname: app
links:
- db:db
- rabbitmq:rabbitmq
- search:search
expose:
- "8282"
@@ -33,6 +34,7 @@ webapi:
links:
- app:app
- db:db
- rabbitmq:rabbitmq
- search:search
expose:
- "8789"
@@ -60,6 +62,19 @@ webui:
#uncomment and set to URL where metasfresh will be available from browsers
#environment:
#- WEBAPI_URL=http://example.com:8080
rabbitmq:
build: rabbitmq
expose:
- "5672"
restart: always
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: "/"
search:
build: search
ulimits:
+1 -1
View File
@@ -12,7 +12,7 @@ RUN apt -y install netcat \
&& apt -y autoclean
RUN mkdir -p /opt/metasfresh
RUN curl https://repo.metasfresh.com/content/repositories/mvn-release-releases/de/metas/dist/metasfresh-dist-dist/5.52.2-625+release/metasfresh-dist-dist-5.52.2-625+release-dist.tar.gz \
RUN curl https://repo.metasfresh.com/content/repositories/mvn-release-releases/de/metas/dist/metasfresh-dist-dist/5.61.2-688+release/metasfresh-dist-dist-5.61.2-688+release-dist.tar.gz \
| tar -xzC /opt/metasfresh/
COPY sources/configs/* /opt/metasfresh/
@@ -0,0 +1,93 @@
-- Thx to https://medium.com/contactually-engineering/postgres-at-scale-query-performance-and-autovacuuming-for-large-tables-d7e8ad40b16b
ALTER SYSTEM SET autovacuum_vacuum_scale_factor = 0.05;
ALTER SYSTEM SET autovacuum_analyze_scale_factor = 0.05;
-- Thx to https://blog.2ndquadrant.com/autovacuum-tuning-basics/
ALTER TABLE ad_archive SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE ad_archive SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_referenceno_doc SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_referenceno_doc SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE ad_attachment SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE ad_attachment SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE ad_pinstance_para SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE ad_pinstance_para SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE ad_pinstance SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE ad_pinstance SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE ad_pinstance_log SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE ad_pinstance_log SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_subscriptionprogress SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_subscriptionprogress SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_invoice_line_alloc SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_invoice_line_alloc SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_invoiceline SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_invoiceline SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_doc_outbound_log_line SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_doc_outbound_log_line SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_referenceno SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_referenceno SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_doc_responsible SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_doc_responsible SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_invoice SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_invoice SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_printing_queue SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_printing_queue SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_invoicetax SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_invoicetax SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_doc_outbound_log SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_doc_outbound_log SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_payment SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_payment SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_allocationhdr SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_allocationhdr SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_allocationline SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_allocationline SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_contract_term_alloc SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_contract_term_alloc SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_olcand SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_olcand SET (autovacuum_vacuum_threshold = 10000);
-- not so big, but still need it, i think because a lot of changes are going on in there
ALTER TABLE public.t_query_selection SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE public.t_query_selection SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE t_lock SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE t_lock SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE m_shipmentschedule_recompute SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE m_shipmentschedule_recompute SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_invoice_candidate_recompute SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_invoice_candidate_recompute SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE ESR_ImportLine SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE ESR_ImportLine SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE ESR_Import SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE ESR_Import SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_flatrate_term SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_flatrate_term SET (autovacuum_vacuum_threshold = 10000);
ALTER TABLE c_invoice_candidate SET (autovacuum_vacuum_scale_factor = 0);
ALTER TABLE c_invoice_candidate SET (autovacuum_vacuum_threshold = 10000);
+1 -1
View File
@@ -14,7 +14,7 @@ RUN apt -y install netcat \
COPY sources/configs/local_settings.properties /root/
RUN mkdir -p /opt/metasfresh-webui-api/metasfresh-webui-api \
&& mkdir -p /opt/metasfresh-webui-api/log
RUN curl https://repo.metasfresh.com/content/repositories/mvn-release/de/metas/ui/web/metasfresh-webui-api/5.52.2-438+release/metasfresh-webui-api-5.52.2-438+release.jar \
RUN curl https://repo.metasfresh.com/content/repositories/mvn-release/de/metas/ui/web/metasfresh-webui-api/5.61.2-490+release/metasfresh-webui-api-5.61.2-490+release.jar \
--output /opt/metasfresh-webui-api/metasfresh-webui-api.jar \
&& chmod 750 /opt/metasfresh-webui-api/metasfresh-webui-api.jar
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 117 KiB

+2 -1
View File
@@ -12,5 +12,6 @@
<body>
<div id="root"></div>
<script src="/config.js"></script>
<script type="text/javascript" src="/bundle1ba74cbcf7276f6a9f19.js"></script></body>
<script src="/plugins.js"></script>
<script type="text/javascript" src="/bundle-f1f6ae58b5179825e749-git-fba6751.js"></script></body>
</html>
+5 -5
View File
@@ -1,10 +1,10 @@
{
"build": {
"releaseVersion": "5.52.2-151+release",
"jenkinsBuildUrl": "https://jenkins.metasfresh.com/job/metasfresh-webui-frontend/job/release/151/",
"jenkinsBuildNo": "151",
"releaseVersion": "5.61.2-180+release",
"jenkinsBuildUrl": "https://jenkins.metasfresh.com/job/metasfresh-webui-frontend/job/release/180/",
"jenkinsBuildNo": "180",
"jenkinsJobName": "metasfresh-webui-frontend/release",
"jenkinsBuildTag": "jenkins-metasfresh-webui-frontend-release-151"
"gitSHA1": "e75eb9cebe6df6a2abaf43998fbacb6fbfad0407"
"jenkinsBuildTag": "jenkins-metasfresh-webui-frontend-release-180"
"gitSHA1": "fba675159418004e2c23ec1a06a9a5e3b0f8daca"
}
}

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

+31 -2
View File
@@ -21,7 +21,10 @@ app:
- "61616:61616"
links:
- db:db
- rabbitmq:rabbitmq
- search:search
expose:
- "8788"
restart: always
volumes:
- ./volumes/app/log:/opt/metasfresh/log:rw
@@ -34,9 +37,13 @@ webapi:
links:
- app:app
- db:db
- rabbitmq:rabbitmq
- search:search
#for accessing the api directly (eg. for debugging or connecting your
#app to the metasfresh api) uncomment following lines:
expose:
- "8789"
# to access the webui-api directly
# (eg. for debugging or connecting your app to the metasfresh api)
# uncomment following port:
#ports:
#- "8080:8080"
restart: always
@@ -55,6 +62,22 @@ webui:
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
#uncomment and set to URL where metasfresh will be available from browsers
#environment:
#- WEBAPI_URL=http://example.com:8080
rabbitmq:
build: rabbitmq
expose:
- "5672"
restart: always
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: "/"
search:
build: search
ulimits:
@@ -66,6 +89,12 @@ search:
hard: 65536
cap_add:
- IPC_LOCK
# to access the search api directly
# (e.g. if you did docker-compose up search to have the deachboard with your locally running metasfresh services)
# uncomment following ports:
# ports:
# - "9200:9200"
# - "9300:9300"
volumes:
- ./volumes/search/data:/usr/share/elasticsearch/data
- /etc/localtime:/etc/localtime:ro
+1
View File
@@ -0,0 +1 @@
FROM rabbitmq:3.7.4
+1 -1
View File
@@ -1,4 +1,4 @@
FROM metasfresh/metasfresh-webapi:5.52
FROM metasfresh/metasfresh-webapi:5.61
COPY sources/configs/* /opt/metasfresh-webui-api/
COPY sources/start_webapi.sh /opt/metasfresh-webui-api/
@@ -3,9 +3,13 @@
server.port=8080
# issue https://github.com/metasfresh/metasfresh/issues/3772
# disable rabbitmq until it's contained in this stack
spring.profiles.active=eventbus_activemq
# --------------------------------------------------------------------------------
# RabbitMQ
# --------------------------------------------------------------------------------
spring.rabbitmq.host=rabbitmq
spring.rabbitmq.port=5672
spring.rabbitmq.username=metasfresh
spring.rabbitmq.password=metasfresh
# --------------------------------------------------------------------------------
# Elasticsearch
+1 -1
View File
@@ -1,4 +1,4 @@
FROM metasfresh/metasfresh-webui:5.52
FROM metasfresh/metasfresh-webui:5.61
COPY sources/configs/config.js /opt/metasfresh-webui-frontend/dist/