You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-mailcow/templates/docker-compose.override.yml.j2

92 lines
1.8 KiB
Django/Jinja

services:
nginx-mailcow:
ports: !override
- 127.0.0.1:{{mailcow_local_http_port}}:80
# Don't use the default docker volumes but instead put the data in juicefs
volumes:
vmail-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/vmail-vol-1
o: bind
vmail-index-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/vmail-index-vol-1
o: bind
mysql-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/mysql-vol-1
o: bind
mysql-socket-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/mysql-socket-vol-1
o: bind
redis-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/redis-vol-1
o: bind
rspamd-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/rspamd-vol-1
o: bind
postfix-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/postfix-vol-1
o: bind
postfix-tlspol-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/postfix-tlspol-vol-1
o: bind
crypt-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/crypt-vol-1
o: bind
sogo-web-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/sogo-web-vol-1
o: bind
sogo-userdata-backup-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/sogo-userdata-backup-vol-1
o: bind
clamd-db-vol-1:
driver: local
driver_opts:
type: none
device: {{ mailcow_storage_dir }}/clamd-db-vol-1
o: bind