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
544f84853d
more shellcheck fixes
2019-02-04 21:47:54 +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
ede858202c
updated elasticsearch to 5.6.14
2019-01-05 01:52:25 +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
20656cbd43
update es to 5.6.12
2018-11-04 23:00:36 +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
d16a6ba3e0
updated elasticsearch to 5.6.9
2018-05-19 14:40:42 +02:00
JZinkl
76a67a29fa
changed from postgres to postgresql to be consitent with zammad container ( #76 )
2018-05-10 20:23:58 +02:00
André Bauer
a29eb5bd89
added postgres vars to backup
2018-05-07 18:28:17 +02:00
André Bauer
26eacae0d3
Update backup.sh
2018-05-07 18:23:05 +02:00
André Bauer
d452489066
Update backup.sh
2018-05-03 18:33:42 +02:00
André Bauer
1915742379
Update backup.sh
2018-05-03 18:33:20 +02:00
André Bauer
d2cb86bd4b
log to stdout ( #73 )
...
* log to stdout
* fix typo
* fixed rsync
* let scheduler wait for memcached server
* made zammad ports configurable
* removed memcached check again
* added sleep 10 to scheduler start
* debug es reindex
* removed sleep 10
* fix repo link
2018-04-14 20:40:27 +02:00
André Bauer
42a76b8752
update elasticsearch to 5.6.8
2018-04-14 16:28:30 +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
c224217da4
switched to elasticsearch 5.6.5 & ingest attachment plugin
2017-12-22 10:42:42 +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
4709235271
added memcached container
2017-11-21 23:52:23 +01:00
André Bauer
46865a0ad7
changed backup delete check
2017-11-21 18:50:45 +01:00
André Bauer
a1dd2ba876
fixed backup error handling
2017-11-21 18:44:46 +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
aa0f636d8a
Merge branch 'master' into beyond-agentur-master
2017-11-19 18:27:05 +01:00
André Bauer
33fec842cb
update elasticsearch to last supported version 5.5.3
2017-11-19 18:26:03 +01:00
André Bauer
c32a7b74ff
changed function order in backup script
2017-11-11 11:35:43 +01:00
André Bauer
f0814f4bbf
fixed backup function name
2017-11-11 11:34:18 +01:00
André Bauer
f64b1c10b5
added check_railsserver_available function to postgresql backup
2017-10-28 13:50:18 +02:00
Kersten Burkhardt
69a3ed8a66
removed double code
2017-10-24 23:17:40 +02:00
Kersten Burkhardt
b6b0b05889
Added backup once
2017-10-24 22:50:44 +02:00
Jan Wagner
8e95c38181
Using zammad-postgresql for backup purpose
2017-10-04 20:57:53 +02:00
André Bauer
e8482a3b8f
fixed backup dir
2017-10-02 23:56:06 +02: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
1e3084dffa
Protect attachments on filesystem
2017-09-15 09:24:27 +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
ef1d7e2887
removed nginx server tokens
2017-07-23 12:39:57 +02:00
André Bauer
7adad799c5
putting everything in 1 RUN command
2017-07-23 12:10:59 +02:00
André Bauer
329cfb6c83
use server_name _; & remove local loging in nginx
2017-07-23 12:02:25 +02:00
André Bauer
c459887182
added cleanup command to backup container
2017-07-23 10:43:38 +02:00
André Bauer
e0eb5d36ba
added braces
2017-07-22 18:34:20 +02:00
André Bauer
3705b9d849
fixed tar backup
2017-07-22 15:23:51 +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
d5e7c5a603
Update docker-entrypoint.sh
...
set es url on any start to make it updatesave
2017-05-12 13:21:53 +02:00
André Bauer
d5856c7ef5
Update docker-entrypoint.sh
2017-05-12 13:20:14 +02:00
André Bauer
9cedf45c3c
Update docker-entrypoint.sh
2017-05-12 11:21:54 +02:00
André Bauer
d7fbb2a9da
added success messages when waiting services can access other servers
2017-04-24 00:25:43 +02:00
André Bauer
d396a1ebef
put port checks into subshell to supress error messages
2017-03-10 09:48:09 +01:00
André Bauer
34ec6affbb
fix elasticsearch url
2017-03-08 20:15:02 +01: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