Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions artifacts/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Services: minio, traefik, tusd, vibetype

### zammad

Services: elasticsearch, memcached, postgres, redis, sqitch, traefik, zammad-backup, zammad-init, zammad-nginx, zammad-railsserver, zammad-scheduler, zammad-websocket
Services: elasticsearch, memcached, postgres, redis, sqitch, traefik, zammad-init, zammad-nginx, zammad-railsserver, zammad-scheduler, zammad-websocket

## Services

Expand Down Expand Up @@ -180,10 +180,6 @@ You can access the upload service at [tusd.app.localhost](https://tusd.app.local

You can access the main project's frontend at [app.localhost](https://app.localhost/).

### zammad-backup

You cannot access the helpdesk backup service via a web interface.

### zammad-init

You cannot access the helpdesk initialization service via a web interface.
Expand Down
4 changes: 2 additions & 2 deletions docs/multi-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ On any other node that path does not exist, and Docker silently creates an empty

## Which services are pinned

Services holding a production volume: `debezium`, `elasticsearch`, `grafana`, `jobber`, `portainer`, `postgres`, `postgres-backup`, `prometheus`, `reccoom-postgres`, `redis`, `redpanda`, `traefik`, `traefik-certs-dumper` and all six `zammad` services.
Services holding a production volume: `debezium`, `elasticsearch`, `grafana`, `jobber`, `portainer`, `postgres`, `postgres-backup`, `prometheus`, `reccoom-postgres`, `redis`, `redpanda`, `traefik`, `traefik-certs-dumper` and all five `zammad` services.

Services holding only a `configurations/` bind mount: `adminer`, `debezium-postgres-connector`, `redpanda-console`.

Some of these also share a volume and therefore have to land on the same node as each other, which the shared label already guarantees: `postgres` with `postgres-backup` with `jobber`, `traefik` with `traefik-certs-dumper`, and the six `zammad` services with one another.
Some of these also share a volume and therefore have to land on the same node as each other, which the shared label already guarantees: `postgres` with `postgres-backup` with `jobber`, `traefik` with `traefik-certs-dumper`, and the five `zammad` services with one another.

## Adding a service

Expand Down
12 changes: 0 additions & 12 deletions src/development/zammad/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ x-zammad-service:
- zammad-data:/opt/zammad/storage
- ./configurations/docker-entrypoint.sh:/opt/zammad/bin/docker-entrypoint:ro
services:
zammad-backup:
# You cannot access the helpdesk backup service via a web interface.
<<: *zammad-service
command: ["zammad-backup"]
user: 0:0
volumes:
- zammad-backup-data:/var/tmp/zammad
- zammad-data:/opt/zammad/storage:ro
- ./configurations/docker-entrypoint.sh:/opt/zammad/bin/docker-entrypoint:ro
zammad-init:
# You cannot access the helpdesk initialization service via a web interface.
<<: *zammad-service
Expand Down Expand Up @@ -87,9 +78,6 @@ services:
<<: *zammad-service
command: ["zammad-websocket"]
volumes:
zammad-backup-data:
# The helpdesk backup's data.
{}
# Keep this volume even while attachments are stored in the database, which is the default: if the storage backend is switched to the filesystem without it, attachments are written into the container and lost on its next restart.
zammad-data:
# The helpdesk's data.
Expand Down
12 changes: 0 additions & 12 deletions src/production/zammad/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
services:
zammad-backup:
deploy:
placement:
constraints:
- node.labels.vibetype.storage == true
update_config:
order: stop-first
logging:
driver: json-file
options:
max-file: "3"
max-size: 20m
zammad-init:
deploy:
placement:
Expand Down