Commit Graph

136 Commits

Author SHA1 Message Date
Thorsten
cda3c41c7a
Release Update 5.0.1. (#243)
* Release Update 5.0.1.

* Update .env

Co-authored-by: Thorsten Eckel <{ID}+{username}@users.noreply.github.com>
Co-authored-by: André Bauer <monotek@users.noreply.github.com>
2021-10-08 12:35:34 +02:00
André Bauer
defd3fbdcf
fix in memory db usage (#241)
* fix in memeory db

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix linter

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* disable jscpd

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* added env to init container too

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* remove whitespaces

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix typo

Signed-off-by: André Bauer <andre.bauer@staffbase.com>
2021-10-06 14:16:13 +02:00
André Bauer
701627f9c6
update zammad labels to 5.0.0 (#239)
* FillDB was renamed to FillDb for Zammad 5.

* Changed Ruby dependency to 2.7.3.

* Update containers/zammad/Dockerfile

* added redis / changed memcached

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* update memcached

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix image

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* remove nginx duplicate

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* added nodejs

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* added cache clear and removed links

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix typo

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* update zammmad version label to 5.0.0

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

Co-authored-by: Martin Gruner <mg@zammad.com>
Co-authored-by: Martin Gruner <mg.pub@gmx.net>
2021-10-05 22:20:00 +02:00
Arnaud Veron
b531521da8
Fix error "base64: invalid input" causing init container crash (#232)
* Fix error "base64: invalid input" causing init container crash

Fixes zammad/zammad-docker-compose#231

* Update containers/zammad/docker-entrypoint.sh

* Update containers/zammad/docker-entrypoint.sh

Co-authored-by: André Bauer <monotek@users.noreply.github.com>
2021-10-05 21:59:47 +02:00
Martin Gruner
9aad202b60
Changes for Zammad 5 (#219)
* FillDB was renamed to FillDb for Zammad 5.

* Changed Ruby dependency to 2.7.3.

* Update containers/zammad/Dockerfile

* added redis / changed memcached

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* update memcached

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix image

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* remove nginx duplicate

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* added nodejs

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* added cache clear and removed links

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix typo

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

Co-authored-by: André Bauer <monotek@users.noreply.github.com>
Co-authored-by: André Bauer <andre.bauer@staffbase.com>
2021-10-05 21:25:26 +02:00
Martin Gruner
db7ca4b92d
Fixes: 224 - Escape special characters in 'sed' replace pattern to support passwords with special characters. (#226) 2021-08-16 19:00:59 +02:00
Mantas Masalskis
a5ab85d651
Maintenance: Ruby updated to 2.6.8 (#227) 2021-08-11 14:52:57 +02:00
Marcel Herrguth
3866262aa5
Maintenance: Provide performance tuning options for docker-compose (#217)
* Maintenance: Provide performance tuning options for docker-compose

* Maintenance: Ensure PUMA_OPTS being available anytime

* Maintenance: Move PUMA_OPTS position

* Maintenance: Adjust puma startup command to allow cluster workers

* Maintenance: Solve SC2086

* Maintenance: Ensure puma knows it's config

* Fix Typo to load config file

* Maintenance: Tell puma what its correct config is...

* fix bind

Signed-off-by: André Bauer <monotek23@gmail.com>

* change concurency to 0 by default

Signed-off-by: André Bauer <monotek23@gmail.com>

Co-authored-by: André Bauer <monotek23@gmail.com>
2021-06-23 18:04:19 +02:00
André Bauer
ab745072cd
update zammad to 4.1.0 (#214)
* update to 4.1.0

Signed-off-by: André Bauer <monotek23@gmail.com>
2021-06-08 17:08:48 +02:00
olafbuitelaar
a77de6a442
Update backup.sh (#204)
i suppose this change should be reflected here as well; 3d86eb8543

Co-authored-by: André Bauer <monotek@users.noreply.github.com>
2021-04-24 19:50:55 +02:00
Marcel
ccb9ca3226
Fixes #205 - Automatically remove IPv6 listen directive (#207)
* Fixes #205 - Automatically remove IPv6 listen directive

* Update docker-entrypoint.sh

Co-authored-by: André Bauer <monotek@users.noreply.github.com>
2021-04-24 15:20:03 +02:00
André Bauer
fda5b3075c
update to 4.0.0 (#198)
Signed-off-by: André Bauer <monotek23@gmail.com>
2021-03-28 13:09:25 +02:00
André Bauer
55a8183190
add RAILS_LOG_TO_STDOUT to zammad container (#197)
Signed-off-by: André Bauer <monotek23@gmail.com>
2021-03-26 22:58:00 +01:00
Thorsten
6ddc9262ed
Added mimemagic gem version 0.3.7 dependency. (#195) 2021-03-26 11:00:32 +01:00
André Bauer
9eda319ed3
use port 8080 for nginx (#193)
* use port 8080 for nginx

Signed-off-by: André Bauer <monotek23@gmail.com>

* fix test

Signed-off-by: André Bauer <monotek23@gmail.com>

* fix port in override file

Signed-off-by: André Bauer <monotek23@gmail.com>

* fix logging

Signed-off-by: André Bauer <monotek23@gmail.com>

* fix compose cmd

Signed-off-by: André Bauer <monotek23@gmail.com>

* fix ci timeout

Signed-off-by: André Bauer <monotek23@gmail.com>
2021-03-18 21:53:46 +01:00
André Bauer
538f19d0b2
move nginx static config to build (#190)
move nginx static config to build...
2021-03-03 20:53:51 +01:00
André Bauer
288b91a0cd
remove gosu and run nginx as zammad user (#189)
remove gosu and run nginx as zammad user
2021-03-03 20:28:03 +01:00
Thorsten
7ef7084e48
Migrate to elasticsearch OSS (#186) 2021-02-05 18:35:04 +01:00
André Bauer
c76180b7d9
update elasticsearch to 7.10.1 (#185) 2021-01-04 13:39:59 +01:00
André Bauer
04e6220993
added codespell & superlinter / updated versions (#183)
* added codespell linter
* added superlinter
* raised env version to 3.6.0-20
* updated memcache container
* updated postgres container
* some readme fixes
* use fixed ubuntu 20.04 version for all github action steps
2020-12-07 13:41:12 +01:00
André Bauer
2f9d7b32ed
Update Dockerfile 2020-11-19 00:01:17 +01:00
Thorsten
99cd79a748
Release Update 3.6. (#181)
* Release Update 3.6.

* Added VERSION ENV.
2020-11-18 19:02:40 +01:00
André Bauer
7d15c4909a
update zammad version & made es reindex optional (#175)
Signed-off-by: André Bauer <monotek23@gmail.com>
2020-09-25 14:35:49 +02:00
Thorsten Eckel
9f79620f9e Maintenance: Updated ruby dependency from 2.6.5 to 2.6.6. 2020-09-22 13:56:31 +02:00
Jakub Gocławski
cf3fd9c090
Allow starting without Elasticsearch. (#171)
* Allow starting without Elasticsearch.

* Document running without Elasticsearch in the README.md.
2020-09-14 16:11:41 +02:00
André Bauer
83438a63a4
update es (#170)
Signed-off-by: André Bauer <monotek23@gmail.com>
2020-09-04 15:27:06 +02:00
André Bauer
9071b2d406
made nginx X-Forwarded-Proto scheme & rails trusted proxies configurable (#166)
* made nginx X-Forwarded-Proto scheme & rails trusted proxies configurable

* disable schellcheck

* removed quotes

* changed sed command

* removed shellcheck disable

* changed scheme var
2020-06-30 15:43:41 +02:00
Thorsten
ff20084ce2
Required changes for 3.4 release. (#162)
* Required changes for 3.4 release.

* Required for first build.
2020-06-16 19:11:18 +02:00
Thiago Alves Cavalcante
05e56fde67
Update rsync command (#150)
* Update rsync command

Adds --no-perms --no-owner params to rsync command for maintain compatibility with NFS volumes, else rsync change owner and perms of files synced causing error.

* Change params on rsync to a generic variable

* Add params as string on generic var

* remove duplicated generic var

* Remove double quotes on rsync command

* Add a coment to ignore spellcheck
2020-05-22 00:10:23 +02:00
André Bauer
c5751c06f7
added es namespace setting 2020-03-27 13:31:22 +01:00
André Bauer
c5c359c658
fix nginx config (#148)
Signed-off-by: André Bauer <monotek23@gmail.com>
2020-03-12 23:16:24 +01:00
André Bauer
73def89f3b
fixed indentation (#144) 2020-03-07 03:55:36 +01:00
André Bauer
581434287c
github action test (#143)
* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>
2020-03-06 18:50:38 +01:00
André Bauer
f93db7f2e8
added image build to ci & change db checks / migration (#142)
* updated image to 3.3.0-11

Signed-off-by: André Bauer <monotek23@gmail.com>

* add image build to ci / changed db cehcks

Signed-off-by: André Bauer <monotek23@gmail.com>

* added repo user var

Signed-off-by: André Bauer <monotek23@gmail.com>

* added needs

Signed-off-by: André Bauer <monotek23@gmail.com>

* added executable bit

Signed-off-by: André Bauer <monotek23@gmail.com>

* test

Signed-off-by: André Bauer <monotek23@gmail.com>

* test

Signed-off-by: André Bauer <monotek23@gmail.com>

* test

Signed-off-by: André Bauer <monotek23@gmail.com>
2020-03-06 14:41:59 +01:00
Thorsten Eckel
1d1daab582 Required changes for 3.3 release. 2020-03-05 15:15:02 +01:00
Thorsten Eckel
589efbc3a6 Building of Elasticsearch broken: Installation of ingest-attachment fails with error code 141.
```
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessClassInPackage.sun.java2d.cmm.kcms
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.security.SecurityPermission createAccessControlContext
* java.security.SecurityPermission insertProvider
* java.security.SecurityPermission putProviderProperty.BC
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

-> Installed ingest-attachment
The command '/bin/bash -e -o pipefail -c yes | /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment' returned a non-zero code: 141
```
2020-03-05 14:36:07 +01:00
André Bauer
33beea77df
test github action (#136)
* changed github action
2020-02-27 00:33:46 +01:00
André Bauer
607fa4a02a
fixes for postgres / use official memcached container (#130)
* use fixed postgres & memcached versions & fix missing postgres env var

* remove memcached contaienr build

* fixed another version label

* added postgres password to backup command

* set postgres user & pass in .env file

* fixed postgres in backup container

* use zammad repo
2020-02-24 17:50:19 +01:00
André Bauer
b8c641997e
Update docker-entrypoint.sh 2020-02-20 16:18:45 +01:00
André Bauer
3d2a73474f
added possibility to purge es index 2020-02-19 23:08:11 +01:00
André Bauer
b25456ff7d
Update Dockerfile 2020-02-18 21:52:09 +01:00
André Bauer
a35b4fa29d
update es (#126)
* remove lib

* Update Dockerfile
2020-02-18 21:01:11 +01:00
Don Bowman
789eb2cc4b fix: missing POSTGRESQL_PORT in construct of database.yaml (#114) 2019-08-30 01:11:14 +02:00
Ryan Lue
5ae3920902 Fix nulldb errors arising in Rails 5.2 (#108) 2019-07-16 12:24:49 +02:00
Marcel
6c82bf25bb Raise Docker to ruby2.5.5 (#107)
This will address issue ä106
2019-07-10 15:42:54 +02:00
Daniel Lohse
cb8b631d5e Allow setting Elasticsearch connection URL protocol (#105)
* Honor ELASTICSEARCH_SCHEMA when accessing Elasticsearch in the Zammad entrypoint

It defaults to http so it's completely backwards-compatible. In case it's https I disabled
verification in the curl command via -k.

* Add ELASTICSEARCH_SSL_VERIFY environment variable in Zammad entrypoint

Setting it to "false" will skip TLS verification when interacting with Elasticsearch.

* Add default value for ELASTICSEARCH_SSL_VERIFY env variable
2019-07-04 12:18:14 +02:00
André Bauer
ed29aaa96c changed tag handling 2019-02-15 16:52:40 +01:00
André Bauer
5aa5151c88 use multistage docker image 2019-02-15 16:11:49 +01:00
André Bauer
e3a5ec3b74 fix searchindex rebuild 2019-02-09 19:05:32 +01:00
André Bauer
f64bdf16aa fixed nginx 2019-02-09 18:56:25 +01:00