version: '3'

services:
  certificate:
    build: ./module-certificate
    container_name: certificate
    image: xpokorn8/sprachschulsystem:certificate
    ports:
      - "5001:5001"

  exercise:
    build: ./module-exercise
    container_name: exercise
    image: xpokorn8/sprachschulsystem:exercise
    ports:
      - "5002:5002"

  language-school:
    build: ./module-language-school
    container_name: language-school
    image: xpokorn8/sprachschulsystem:language-school
    ports:
      - "5000:5000"

  mail:
    build: ./module-mail
    container_name: mail
    image: xpokorn8/sprachschulsystem:mail
    ports:
      - "5003:5003"