Commit Graph

57 Commits

Author SHA1 Message Date
André Bauer
2a7f97136f log to stdout 2018-04-14 16:23:15 +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