Set the database name to the default of the Zammad image to avoid an unused database with the name of the POSTGRES_USER var.
See default database name:
163377fc65/contrib/docker/docker-entrypoint.sh (L20)
See PostgreSQL image documentation:
https://hub.docker.com/_/postgres
POSTGRES_DB
This optional environment variable can be used to define a different name for the default database
that is created when the image is first started. If it is not specified, then the value of POSTGRES_USER will be used.
* 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
* 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>
* 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>
* 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>
* 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
- 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
- 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