version: '3'
services:
  jitsi-xmpp:
    build: ./jitsi-xmpp
    image: superboum/amd64_jitsi_xmpp:v1
    network_mode: host
    ports:
      - "5222:5222"
      - "5347:5347"
      - "5280:5280"
    env_file: [ 'dev.env' ]
    volumes: [ './jitsi-certs/:/certs:ro' ]
  jitsi-front:
    build: ./jitsi-front
    image: superboum/amd64_jitsi_front:v1
    network_mode: host
    ports:
      - "443:443"
    env_file: [ 'dev.env' ]
    volumes: [ './jitsi-certs/:/certs:ro' ]
  jitsi-conference-focus:
    build: ./jitsi-conference-focus
    image: superboum/amd64_jitsi_conference_focus:v1
    network_mode: host
    env_file: [ 'dev.env' ]
    volumes: [ './jitsi-certs/:/certs:ro' ]
  jitsi-videobridge:
    build: ./jitsi-videobridge
    image: superboum/amd64_jitsi_videobridge:v1
    network_mode: host
    ports:
      - "4443:4443"
      - "10000:10000/udp"
    env_file: [ 'dev.env' ]
    volumes: [ './jitsi-certs/:/certs:ro' ]