Skip to content

Commit

Permalink
Closes: #379 - Add mount point for /opt/zammad/storage
Browse files Browse the repository at this point in the history
  • Loading branch information
mgruner committed Sep 27, 2023
1 parent 15aa646 commit 060569f
Showing 1 changed file with 6 additions and 0 deletions.
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
- 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

0 comments on commit 060569f

Please sign in to comment.