Commit Graph

46 Commits

Author SHA1 Message Date
Jensa
281b5f317f
timed backup script with backup time (#339)
* Update backup.sh

- new zammad-timed-backup which uses fixed backup time $BACKUP_TIME

* Update docker-compose.yml

- $BACKUP_TIME added
- timed backup as command

* merge request and linting fixes

* arithmetic linting fix

* not related to merge request but fixes linting in check_railsserver_available
2023-05-12 20:51:57 +02:00
Jan Kiesewetter
d588f2ff65
Define PostgreSQL version in .env (#322)
Resolves: #321
2022-12-23 21:21:40 +01:00
André Bauer
87e8b49794
update zammad to 5.3.0 (#313)
* update zammad to 5.3.0

* update dependencies

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

Signed-off-by: André Bauer <andre.bauer@staffbase.com>
2022-11-22 18:59:50 +01:00
André Bauer
a0aa5324dc
adjust readme and docker image path (#310)
Signed-off-by: André Bauer <andre.bauer@staffbase.com>

Signed-off-by: André Bauer <andre.bauer@staffbase.com>
2022-11-08 16:08:16 +01:00
André Bauer
c5c1db541a
update zammad & components (#307)
Signed-off-by: André Bauer <andre.bauer@staffbase.com>

Signed-off-by: André Bauer <andre.bauer@staffbase.com>
2022-11-04 19:30:32 +01:00
André Bauer
5bcd41057a
update docker images & ci (#276)
* update images

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* remove unneeded dummey dockerfile

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix superlinter

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix stale.yml

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* update version

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* remove codespell

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* add fetcfh depth

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix codepsell removal

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* enable VALIDATE_ALL_CODEBASE

Signed-off-by: André Bauer <andre.bauer@staffbase.com>
2022-04-25 23:13:34 +02:00
André Bauer
defd3fbdcf
fix in memory db usage (#241)
* fix in memeory db

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix linter

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* disable jscpd

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* added env to init container too

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* remove whitespaces

Signed-off-by: André Bauer <andre.bauer@staffbase.com>

* fix typo

Signed-off-by: André Bauer <andre.bauer@staffbase.com>
2021-10-06 14:16:13 +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
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
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
297c3f8004
updated memcached image 2020-09-24 18:23:02 +02:00
André Bauer
f48fca238e
fixed postgres varname 2020-03-26 16:56:31 +01:00
André Bauer
7a591e3da5
added missing env vars to zammad init (#154) 2020-03-26 13:34:05 +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
de63808d4b removed blankline 2020-02-27 10:22:00 +01:00
André Bauer
d35dc01480
fixed sortorder 2020-02-25 20:00:31 +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
9b81b9f544
Update docker-compose.yml 2020-02-21 17:50:30 +01:00
Jan Kiesewetter
f51eb4de02 Set restart option with .env (#87)
For better testing, the restart option of the containers is moved to .env
2018-08-16 12:40:41 +02:00
Jan Kiesewetter
3284f37ae1 Expose port 80 of zammad-nginx
After changing from nginx image to zammad + nginx it is necessary to expose port 80 of zammad-nginx service

Fixes: #61
2018-01-09 10:20:16 +01:00
André Bauer
b86467b4c4 fixed entrypoint script and remover superfluous rancher lables 2017-12-24 16:08:57 +01:00
André Bauer
93441daacb set docker-compose version to 2 for rancher 2017-12-09 12:36:38 +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
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
f3c37f0979 switched back to zammad docker repos 2017-11-21 19:19:50 +01:00
André Bauer
0019469221 added nfs server for kubernetes 2017-11-20 23:59:01 +01:00
André Bauer
40c1f6b041 added .env file with VERSION var...
...to be able to let compose file untouched when using another image version
2017-11-11 11:09:43 +01:00
Jan Kiesewetter
334f605bde Move mapping of port 80 to docker-compose.override.yml
Moving the port mapping to override file makes it possible to easy use an reverse proxy for production.
This is necessary because it is not possible to remove a property with an override file.
See https://docs.docker.com/compose/extends/#understanding-multiple-compose-files

Resolves: #51
2017-10-10 10:14:25 +02:00
Jan Wagner
8e95c38181 Using zammad-postgresql for backup purpose 2017-10-04 20:57:53 +02:00
André Bauer
d069268bf6 fixed compose file 2017-10-03 00:57:28 +02:00
André Bauer
9d4dad8de5 use only one zammad image for all zammad services- fixes #45 2017-10-02 23:41:16 +02:00
Jan Kiesewetter
0bbf8bc53c Create a named volume vor elasticsearch db
Fixes: #34
2017-07-28 11:50:34 +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
André Bauer
db9efbed97 fixes #issue 15 2017-04-05 22:09:51 +02:00
André Bauer
b419b20d3f renamed containers 2017-03-08 19:37:05 +01:00
Fabian Laule
ec798d524b Added quotation marks to fix syntax error 2017-01-26 09:02:26 +01:00
André Bauer
d7293a68de added rancher labels & rancher-compose.yml 2017-01-17 14:05:58 +01:00
André Bauer
66d31548f4 split up zammad processes in own containers 2017-01-12 14:14:25 +01:00
André Bauer
e08cc98c47 removed superfluous ruby volume 2017-01-09 22:48:12 +01:00
André Bauer
0a0c983cfb added check if fetch_locales.rb exists 2017-01-09 15:52:53 +01:00
André Bauer
34f7f219fb changed maintainer info, changed dockerhub repo in hooks & changed docker image users to zammad 2017-01-08 13:00:11 +01:00
André Bauer
005fb5a07b moved bundle install to Dockerfile, removed unneeded volumes, updated README 2017-01-06 15:11:05 +01:00
André Bauer
b2386ddacb changed README, added docker-compos-build.yml, fixed postgres volume 2017-01-06 13:10:15 +01:00
André Bauer
fdd69d924c moved to dockerhub images 2017-01-05 20:10:08 +01:00
André Bauer
9821a71fe7 added Dockerfile.postgresql & added dockerhub build hooks 2017-01-05 15:35:38 +01:00
André Bauer
315217fdd1 addind docker-compose 2016-12-17 12:10:51 +01:00