---
#
# Adds an external network to Zammad's elasticsearch container, for example to
#   use it with an existing reverse proxy like nginx proxy manager.
#

services:
  zammad-elasticsearch:
    networks:
      - default
      - zammad-elasticsearch-external-network

networks:
  zammad-elasticsearch-external-network:
    external: true
    name: ${ZAMMAD_ELASTICSEARCH_EXTERNAL_NETWORK}
