Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7364db0c6e | ||
|
|
a34b0c2261 | ||
|
|
b0ac694fe4 | ||
|
|
87b2f09054 | ||
|
|
8e130253b7 | ||
|
|
56ee4ed325 | ||
|
|
c21e65bc4d
|
||
|
|
dce1de0599 | ||
|
|
e58f02d19d | ||
|
|
380d6c0891 | ||
|
|
e3883aef61
|
||
|
|
1be30e4242 | ||
|
|
1276d48ef2 | ||
|
|
17730d64a2 | ||
|
|
39dbca140d | ||
|
|
470a1f75a3 | ||
|
|
9f7b4158ef | ||
|
|
d0f627611d | ||
|
|
900d59b1e4 | ||
|
|
62690619d5 | ||
|
|
f3ac5de236 | ||
|
|
b84af1e8d4 | ||
|
|
64032582b2
|
||
|
|
d3e8edd324 | ||
|
|
e86398d464 |
@@ -0,0 +1,32 @@
|
|||||||
|
# Zammad Recipe Maintenance
|
||||||
|
|
||||||
|
All contributions should be made via a pull request. This is to ensure a
|
||||||
|
certain quality and consistency, that others can rely on.
|
||||||
|
|
||||||
|
## Maintainer Responsibilities
|
||||||
|
|
||||||
|
A recipe maintainer has the following responsibilities:
|
||||||
|
|
||||||
|
- Respond to pull requests / issues within two weeks
|
||||||
|
- Make image security updates within a week
|
||||||
|
- Make image major updates every three months
|
||||||
|
|
||||||
|
In order to fullfill these responsibilities a recipe maintainer:
|
||||||
|
|
||||||
|
- Has to watch the repository (to get notifications)
|
||||||
|
- Needs to make sure renovate is configured properly
|
||||||
|
|
||||||
|
## Pull Requests
|
||||||
|
|
||||||
|
A pull request can be merged if it is approved by at least one maintainer. For
|
||||||
|
pull requests opened by a maintainer they need to be approved by another
|
||||||
|
maintainer. Even though it is okay to merge a pull request with one approval, it
|
||||||
|
is always better if all maintainers looked at the pull request and approved it.
|
||||||
|
|
||||||
|
## Become a maintainer
|
||||||
|
|
||||||
|
Everyone can apply to be a recipe maintainer:
|
||||||
|
1. Watch the repository to always get updates
|
||||||
|
2. Simply add your self to the list in the [README.md](./README.md) and open a new pull request with the change.
|
||||||
|
3. Once the pull request gets merged you will be added to the [zammad maintainers team](https://git.coopcloud.tech/org/coop-cloud/teams/zammad-maintainers).
|
||||||
|
4. Join the room [#cc-|-zammad-maintenance:matrix.org](#cc-|-zammad-maintenance:matrix.org) and chat to other maintainers.
|
||||||
@@ -4,8 +4,9 @@ Zammad is a free helpdesk or issue tracking system.
|
|||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
|
|
||||||
|
* **Maintainer**: Local-IT: [@moritz](https://git.coopcloud.tech/moritz), [@msimon](https://git.coopcloud.tech/simon), [@carla](https://git.coopcloud.tech/carla)
|
||||||
* **Category**: Apps
|
* **Category**: Apps
|
||||||
* **Status**: 0
|
* **Status**: `stable`
|
||||||
* **Image**: [`zammad`](https://hub.docker.com/r/zammad), 4, upstream
|
* **Image**: [`zammad`](https://hub.docker.com/r/zammad), 4, upstream
|
||||||
* **Healthcheck**: Yes
|
* **Healthcheck**: Yes
|
||||||
* **Backups**: No
|
* **Backups**: No
|
||||||
|
|||||||
@@ -3,21 +3,21 @@ export AUTO_WIZARD_VERSION=v2
|
|||||||
export PG_BACKUP_VERSION=v2
|
export PG_BACKUP_VERSION=v2
|
||||||
|
|
||||||
get_setting_changes() {
|
get_setting_changes() {
|
||||||
/custom-entrypoint.sh "rails r 'puts JSON.pretty_generate(JSON.parse(Setting.all.select{ |setting| setting.state_current != setting.state_initial }.map { |setting| {name: setting.name, value: setting.state_current[\""value\""]} } .to_json))'"
|
/custom-entrypoint.sh "bundle exec rails r 'puts JSON.pretty_generate(JSON.parse(Setting.all.select{ |setting| setting.state_current != setting.state_initial }.map { |setting| {name: setting.name, value: setting.state_current[\""value\""]} } .to_json))'"
|
||||||
}
|
}
|
||||||
|
|
||||||
console() {
|
console() {
|
||||||
/custom-entrypoint.sh "rails c"
|
/custom-entrypoint.sh "bundle exec rails c"
|
||||||
}
|
}
|
||||||
|
|
||||||
rails_run() {
|
rails_run() {
|
||||||
COMMAND="rails r \"$@\""
|
COMMAND="bundle exec rails r \"$@\""
|
||||||
/custom-entrypoint.sh "$COMMAND"
|
/custom-entrypoint.sh "$COMMAND"
|
||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
cp -f /opt/zammad/contrib/auto_wizard.json /tmp/auto_wizard.json
|
cp -f /opt/zammad/contrib/auto_wizard.json /tmp/auto_wizard.json
|
||||||
/custom-entrypoint.sh "rails zammad:setup:auto_wizard[/tmp/auto_wizard.json]"
|
/custom-entrypoint.sh "bundle exec rake zammad:setup:auto_wizard[/tmp/auto_wizard.json]"
|
||||||
}
|
}
|
||||||
|
|
||||||
enable_authentik_sso() {
|
enable_authentik_sso() {
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
zammad-backup:
|
zammad-backup:
|
||||||
image: ghcr.io/zammad/zammad:7.1.2
|
image: ghcr.io/zammad/zammad:7.2.2
|
||||||
command: ["zammad-backup"]
|
command: ["zammad-backup"]
|
||||||
volumes:
|
volumes:
|
||||||
- zammad-backup:/var/tmp/zammad
|
- zammad-backup:/var/tmp/zammad
|
||||||
|
|||||||
+9
-5
@@ -45,7 +45,6 @@ x-shared:
|
|||||||
SSO_PROVIDER_DOMAIN:
|
SSO_PROVIDER_DOMAIN:
|
||||||
IDP_SSO_TARGET_URL:
|
IDP_SSO_TARGET_URL:
|
||||||
IDP_SLO_SERVICE_URL:
|
IDP_SLO_SERVICE_URL:
|
||||||
image: ghcr.io/zammad/zammad:7.1.2
|
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@@ -69,7 +68,7 @@ x-shared:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
zammad-elasticsearch:
|
zammad-elasticsearch:
|
||||||
image: elasticsearch:9.4.4
|
image: elasticsearch:9.5.5
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@@ -93,6 +92,7 @@ services:
|
|||||||
|
|
||||||
zammad-init:
|
zammad-init:
|
||||||
<<: *zammad-service
|
<<: *zammad-service
|
||||||
|
image: ghcr.io/zammad/zammad:7.2.2
|
||||||
command: ["zammad-init"]
|
command: ["zammad-init"]
|
||||||
depends_on:
|
depends_on:
|
||||||
- zammad-postgresql
|
- zammad-postgresql
|
||||||
@@ -113,6 +113,7 @@ services:
|
|||||||
|
|
||||||
app:
|
app:
|
||||||
<<: *zammad-service
|
<<: *zammad-service
|
||||||
|
image: ghcr.io/zammad/zammad:7.2.2
|
||||||
command: ["zammad-nginx"]
|
command: ["zammad-nginx"]
|
||||||
#expose:
|
#expose:
|
||||||
# - 8080
|
# - 8080
|
||||||
@@ -134,7 +135,7 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=4.1.1+7.1.2"
|
- "coop-cloud.${STACK_NAME}.version=4.4.0+7.2.2"
|
||||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080"]
|
||||||
@@ -168,7 +169,7 @@ services:
|
|||||||
secrets:
|
secrets:
|
||||||
- db_password
|
- db_password
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "pg_isready", "-U", "zammad"]
|
test: ["CMD", "pg_isready", "-U", "zammad", "-d", "zammad_production"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 10
|
retries: 10
|
||||||
@@ -176,6 +177,7 @@ services:
|
|||||||
|
|
||||||
zammad-railsserver:
|
zammad-railsserver:
|
||||||
<<: *zammad-service
|
<<: *zammad-service
|
||||||
|
image: ghcr.io/zammad/zammad:7.2.2
|
||||||
command: ["zammad-railsserver"]
|
command: ["zammad-railsserver"]
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
||||||
@@ -193,7 +195,7 @@ services:
|
|||||||
memory: 2G
|
memory: 2G
|
||||||
|
|
||||||
zammad-redis:
|
zammad-redis:
|
||||||
image: redis:8.10.0-alpine
|
image: redis:8.10.2-alpine
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@@ -208,6 +210,7 @@ services:
|
|||||||
|
|
||||||
zammad-scheduler:
|
zammad-scheduler:
|
||||||
<<: *zammad-service
|
<<: *zammad-service
|
||||||
|
image: ghcr.io/zammad/zammad:7.2.2
|
||||||
command: ["zammad-scheduler"]
|
command: ["zammad-scheduler"]
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: 'grep -a "background-worker.rb" -r /proc/[0-9]*/cmdline'
|
test: 'grep -a "background-worker.rb" -r /proc/[0-9]*/cmdline'
|
||||||
@@ -218,6 +221,7 @@ services:
|
|||||||
|
|
||||||
zammad-websocket:
|
zammad-websocket:
|
||||||
<<: *zammad-service
|
<<: *zammad-service
|
||||||
|
image: ghcr.io/zammad/zammad:7.2.2
|
||||||
command: ["zammad-websocket"]
|
command: ["zammad-websocket"]
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: 'ruby -rsocket -e "s = TCPSocket.new(''localhost'', 6042); s.close"'
|
test: 'ruby -rsocket -e "s = TCPSocket.new(''localhost'', 6042); s.close"'
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user