Commit Graph

116 Commits

Author SHA1 Message Date
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
André Bauer
a52dab26da update gosu to 1.11 2018-12-06 23:00:49 +01:00
André Bauer
b78ff40329
fixed database 2018-06-12 13:02:20 +02:00
André Bauer
4799668e49
fixed database config 2018-06-12 12:17:45 +02:00
André Bauer
532c881e34
added dirmngr 2018-06-12 10:44:53 +02:00
André Bauer
034b87ffbc
added gnupg2 2018-06-12 10:40:32 +02:00
André Bauer
4a07dba4fa
removed --allow 2018-06-12 10:06:01 +02:00
André Bauer
c11a884f92
replaced --force-yes with --allow 2018-06-11 16:13:33 +02:00
André Bauer
e0a66e6933
switch to ruby 2.4.4 2018-06-11 16:09:46 +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
d0c9c6b5e8 fix typo 2018-04-14 16:25:54 +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
95121fadf9
updated ruby to 2.4.2 2018-02-04 16:42:22 +01: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
André Bauer
2fc5b8fe8b delete zammad ready file on init container start 2017-12-24 14:25:11 +01:00
André Bauer
b3fb17c6ad - changed tmp file var to use full path
- switched back to postgresql 9.6 (10.x with next release)
- switched back to zammad image repos
- switched back to stable branch (dalli gem now included)
2017-12-07 15:20:21 +01:00
André Bauer
1f5c9036c2 - fixed ipv6 in google kubernetes engine
- replaced wget with curl
- made zammad image smaller by using tar.gz install instead of git clone
- moved sed commands to entrypoint
- added variables to entrypoint to set used servers dynamically
- added kubernetes backup cronjob
- added postgresql volume to compose file
- write nginx logs to stdout & stderr
- create zammad user & group manually with uid/gid 1000
2017-12-03 19:41:55 +01:00
André Bauer
ce474aabef - switched to single zammad pod to get rid of nfs container in kubernetes
- added nginx configmap
- switched to statefulset for es
- removed nginx & nfs container builds
- switched to postgresql 10.1 (manual update needed)
2017-12-02 12:58:46 +01:00
André Bauer
ce696bad8b
added init container (installation / update)... (#2)
- added memcached container (currently develop branch needed)
- put all zammad services in one kubernetes pod to be able to use empty dir volume for tmp
- switched to kubernetes deployments
- switched to ReadWriteOnce kubernetes volume claims
- added init container to elasticsearch & zammad kubernetes deployments
- added IMAGE_REPO var for docker compose to .env file
- run nginx from zammad container (preparation for stateless updates)
- removed docker-compose-build.yml
- use private docker repos in compose & kubernetes
- change compose volume names
2017-11-26 21:25:57 +01:00
André Bauer
991cb6aaae merged master 2017-11-21 16:26:34 +01:00
André Bauer
c93f1422b1 better error handling 2017-11-21 16:24:57 +01:00
André Bauer
9aa8a7540d deactivated set -e for db check 2017-11-21 16:19:57 +01:00
André Bauer
4ec18cd437 switched to set -e in entrypoint scripts 2017-11-21 00:30:58 +01:00
André Bauer
0019469221 added nfs server for kubernetes 2017-11-20 23:59:01 +01:00
André Bauer
6d49d009ae added set -e to entrypoint script 2017-11-19 19:04:24 +01:00
André Bauer
9d4dad8de5 use only one zammad image for all zammad services- fixes #45 2017-10-02 23:41:16 +02:00
André Bauer
b904f63148 fixed update 2017-09-13 21:52:27 +02:00
André Bauer
89473cc672 Switched to ruby 2.4.1 2017-09-12 07:41:07 +02:00
André Bauer
7adad799c5 putting everything in 1 RUN command 2017-07-23 12:10:59 +02:00
André Bauer
e0eb5d36ba added braces 2017-07-22 18:34:20 +02:00
André Bauer
98151eb8ac added backup container, added version tagd via travis builds, fixed several bugs 2017-07-22 15:14:20 +02:00
Jan Kiesewetter
8be75afd9b Set WORKDIR to ZAMMAD_DIR
To easy run rails command insight the zammad folder the docker WORKDIR is set to the zammad folder
All exec commands now run directly in /home/zammad

Fixes: #29
2017-07-21 14:21:32 +02:00
André Bauer
b419b20d3f renamed containers 2017-03-08 19:37:05 +01:00
André Bauer
73123632e2 switched to stable branch 2017-01-17 13:17:06 +01:00
André Bauer
156942b74a switched to master branch 2017-01-17 11:39:38 +01:00
André Bauer
c6f28bc566 switched to master branch 2017-01-17 11:38:21 +01:00
André Bauer
66d31548f4 split up zammad processes in own containers 2017-01-12 14:14:25 +01:00