version: '3.7'
services:
  mailcrab:
    image: marlonb/mailcrab:latest
    ports:
      - "1080:1080"
      - "1025:1025"
    networks:
      - mynetwork

  kratos:
    image: oryd/kratos:v1.1.0
    command: serve --dev --config /etc/config/kratos/kratos.yaml --watch-courier
    volumes:
      - "./kratos:/etc/config/kratos"
    ports:
      - "4433:4433"
      - "4434:4434"
    networks:
      - mynetwork
  
networks:
  mynetwork:
    driver: bridge
