jeboehm / docker-mailserver

Docker Mailserver based on the famous ISPMail guide
MIT License
371 stars 97 forks source link

bin/production.sh pull fails after removing service "virus": #275

Closed cmonty14 closed 10 months ago

cmonty14 commented 10 months ago

Describe the bug I don't want to deploy Clam AV and followed instructions here. Running bin/production.sh pull fails with error: service "filter" depends on undefined service virus: invalid compose project

Expected behavior Pulling required images completes w/o error.

Docker environment (please complete the following information):

Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 24.0.7 Storage Driver: overlay2 Backing Filesystem: btrfs Supports d_type: true Using metacopy: true Native Overlay Diff: false userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 71909c1814c544ac47ab91d2e8b84718e517bb99.m runc version: init version: de40ad0 Security Options: seccomp Profile: builtin cgroupns Kernel Version: 6.7.0-arch3-1 Operating System: Arch Linux OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 1.925GiB Name: mail ID: e7499f15-2fcf-46ee-a791-32d09ad5686b Docker Root Dir: /var/lib/docker Debug Mode: false Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

 - Output of `docker-compose version`

Docker Compose version 2.24.2



**Additional context**
I need Rspamd in this deployment w/o AV engine.
agittins commented 10 months ago

I don't use clamav either. In my docker-compose.yml I also commented out:

    links:
      - virus:virus.local

from the filter section.

If you do that does it work? If so we probably just need to add that step to the docs.

agittins commented 10 months ago

Cool, have updated the docs accordingly.

jeboehm commented 10 months ago

Thank you very much, @agittins !!