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
* Maintenance: Changes for Zammad 5.2.
* Maintenance: Switch to Ruby 3.0.4.
* Update Zammad version label.
* Maintenance: Use the renamed zammad:searchindex:* commands of Zammad 5.2.
* Raise .env version to 5.0.3-14 to include ES 7.16.2
* Maintenance: Test raised linter version from 3 to 4
* Maintenance: Adjust readme according to linters complaints
* Maintenance: Fix typos
* 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>
* update to 3.6.0-67
Signed-off-by: André Bauer <monotek23@gmail.com>
* fix ci name
Signed-off-by: André Bauer <monotek23@gmail.com>
* fix typo
Signed-off-by: André Bauer <monotek23@gmail.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>
* bumped to 3.6.0-82
* Update .env
Co-authored-by: Ross Crawford-d'Heureuse <ross.crawford@mindcurv.com>
Co-authored-by: André Bauer <monotek@users.noreply.github.com>
* Update rsync command
Adds --no-perms --no-owner params to rsync command for maintain compatibility with NFS volumes, else rsync change owner and perms of files synced causing error.
* Change params on rsync to a generic variable
* Add params as string on generic var
* remove duplicated generic var
* Remove double quotes on rsync command
* Add a coment to ignore spellcheck
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
* github action test
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>
* added autowizard as test
Signed-off-by: André Bauer <monotek23@gmail.com>
* fix filename
Signed-off-by: André Bauer <monotek23@gmail.com>
* removed workflow needs
Signed-off-by: André Bauer <monotek23@gmail.com>
* added another sleep to see some more logs
Signed-off-by: André Bauer <monotek23@gmail.com>
* remove sleep
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
In environments with more then one web applications it is necessary to use a reverse proxy to route connections to port 80 and 443 to the right application.
To run Zammad behind a revers proxy, we provide `docker-compose.proxy-example.yml` as a starting point.
To run Zammad behind a reverse proxy, we provide `docker-compose.proxy-example.yml` as a starting point.
1. Copy `./.examples/proxy/docker-compose.proxy-example.yml` to your own configuration, e.g. `./docker-compose.prod.yml`
1. Copy `./.examples/proxy/docker-compose.proxy-example.yml` to your own configuration, e.g. `./docker-compose.prod.yml`
1. Modify the environment variable `VIRTUAL_HOST` and the name of the external network in `./docker-compose.prod.yml` to fit your environment.
1. Run docker-composer commands with the default and your configuration, e.g. `docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d`
2. Modify the environment variable `VIRTUAL_HOST` and the name of the external network in `./docker-compose.prod.yml` to fit your environment.
3. Run docker-composer commands with the default and your configuration, e.g. `docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d`
See `.examples/proxy/docker-compose.yml` for an example proxy project.
Like this, you can add your `docker-compose.prod.yml` to a branch of your Git repository and stay up to date by merging changes to your branch.
## Using Rancher
* RANCHER_URL=http://RANCHER_HOST:8080 rancher-compose --env-file=.env up
```console
RANCHER_URL=http://RANCHER_HOST:8080 rancher-compose --env-file=.env up
```
## Running without Elasticsearch
Elasticsearch is an optional, but strongly recommended dependency for Zammad. More details can be found in the [documentation](https://docs.zammad.org/en/latest/prerequisites/software.html#elasticsearch-optional). There are however certain scenarios when running without Elasticsearch may be desired, e.g. for very small teams, for teams with limited budget or as a temporary solution for an unplanned Elasticsearch downtime or planned cluster upgrade.
Elasticsearch is enabled by default in the example `docker-compose.yml` file. It is also by default required to run the "zammad-init" command. Disabling Elasticsearch is possible by setting a special environment variable: `ELASTICSEARCH_ENABLED=false` for the `zammad-init` container and removing all references to Elasticsearch everywhere else: the `zammad-elasticsearch` container, its volume and links to it.
echo "Build Zammad Docker image ${DOCKER_IMAGE} with version ${ZAMMAD_VERSION} for DockerHubs ${DOCKER_REGISTRY}/${GITHUB_USERNAME}/${DOCKER_REPOSITORY}:${DOCKER_IMAGE} repo"
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.