name: compose

services:
  redis:
    image: redis:7-alpine
    restart: unless-stopped
    ports:
      - "6379:6379"
    networks:
      - dora-net

  mosquitto:
    image: eclipse-mosquitto:2
    restart: unless-stopped
    ports:
      - "1883:1883"
    volumes:
      - ../../.local/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro
    networks:
      - dora-net

networks:
  dora-net:
    external: true
    name: compose_dora-net
