Commit Graph

101 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
51377abf25 added missing && 2018-12-06 23:45:25 +01:00
André Bauer
94b820d08d removed commented out gpg stuff 2018-12-06 23:44:21 +01:00
André Bauer
87da0ed9f0 removed gosu gpg check for now as it constantly fails 2018-12-06 23:35:11 +01:00
André Bauer
b10e627026 added no-tty to gpg 2018-12-06 23:23:20 +01:00