Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes: #379 - Add mount point for /opt/zammad/storage #380

Merged
merged 2 commits into from
Sep 27, 2023
Merged
Changes from 1 commit
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: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ x-shared:
image: ${IMAGE_REPO}:${VERSION}
restart: ${RESTART}
volumes:
- zammad-storage:/opt/zammad/storage
- zammad-var:/opt/zammad/var
depends_on:
- zammad-memcached
Expand All @@ -57,6 +58,7 @@ services:
restart: ${RESTART}
volumes:
- zammad-backup:/var/tmp/zammad
- zammad-storage:/opt/zammad/storage:ro
- zammad-var:/opt/zammad/var:ro
- ./scripts/backup.sh:/usr/local/bin/backup.sh:ro

Expand All @@ -75,6 +77,7 @@ services:
user: 0:0
volumes:
- zammad-config-nginx:/etc/nginx/sites-enabled
- zammad-storage:/opt/zammad/storage
- zammad-var:/opt/zammad/var

zammad-memcached:
Expand All @@ -91,6 +94,7 @@ services:
- zammad-railsserver
volumes:
- zammad-config-nginx:/etc/nginx/sites-enabled:ro
- zammad-storage:/opt/zammad/storage:ro
mgruner marked this conversation as resolved.
Show resolved Hide resolved
- zammad-var:/opt/zammad/var:ro

zammad-postgresql:
Expand Down Expand Up @@ -132,5 +136,7 @@ volumes:
driver: local
zammad-config-nginx:
driver: local
zammad-storage:
driver: local
zammad-var:
driver: local
Loading