Commit Graph

62 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Don Bowman
789eb2cc4b fix: missing POSTGRESQL_PORT in construct of database.yaml (#114) 2019-08-30 01:11:14 +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
André Bauer
65127b46e3
Fixed quotes 2019-02-05 20:58:48 +01:00
André Bauer
c8666402c4 fixed shellcheck errors 2019-02-04 21:45:33 +01:00
André Bauer
cae9c74ff8 changed autowizard position 2019-02-04 21:29:24 +01:00
André Bauer
5b495e81ca added autowizard.json creation 2019-02-01 19:52:04 +01:00
André Bauer
c1cb4ab7d7 remove existing railsserver pid file on start 2018-12-27 21:48:14 +01:00
Maarten de Boer
46e55773fa Fix database initialisation (#90) 2018-12-11 18:57:18 +01:00
André Bauer
4799668e49
fixed database config 2018-06-12 12:17:45 +02:00
André Bauer
8efd8046d5 removed sleep 10 2018-04-14 20:30:47 +02:00
André Bauer
dc1f8128cc debug es reindex 2018-04-14 18:28:56 +02:00
André Bauer
03f2bd9955 Merge remote-tracking branch 'upstream/master' 2018-04-14 18:15:40 +02:00
André Bauer
9786e32348 added sleep 10 to scheduler start 2018-04-14 17:50:25 +02:00
André Bauer
1ea1e65aaf removed memcached check again 2018-04-14 17:48:28 +02:00
André Bauer
7b11ae9848 made zammad ports configurable 2018-04-14 17:40:53 +02:00
André Bauer
274e216394 let scheduler wait for memcached server 2018-04-14 17:24:05 +02:00
André Bauer
b647a87c3d
fixed rsync 2018-04-14 16:50:39 +02:00
André Bauer
2a7f97136f log to stdout 2018-04-14 16:23:15 +02:00
André Bauer
efe03468f3
fix reindex if 2018-04-14 15:48:17 +02:00
André Bauer
8c4de19d45 if es index exists no index rebuild 2018-04-14 15:17:42 +02:00
Adam McMaster
244392a981
Add missing $ 2018-04-12 11:16:30 +01:00
André Bauer
0e7c68b741
Update docker-entrypoint.sh 2018-04-10 11:17:23 +02:00
André Bauer
0b80e0d34b
added POSTGRESQL_DB env var 2018-04-09 18:07:40 +02:00
André Bauer
6888a87abd added test -f again 2017-12-24 16:13:25 +01:00
André Bauer
b86467b4c4 fixed entrypoint script and remover superfluous rancher lables 2017-12-24 16:08:57 +01:00
André Bauer
b00217c670 moved rsync on top of init container 2017-12-24 15:04:09 +01:00
André Bauer
db984758d4 fix file deletion 2017-12-24 14:59:45 +01:00