Jitsi-meet in Docker Swarm

Hi All,

Is traefik is required for setup jitsi-meet in Docker Swarm setup? can anyone please assist me to setup jitsi meet in docker swarm setup using nginx

I used this docker-compose.yml file but it is not working. Can anyone help me
version: ‘3.7’

services:
# Frontend
jitsiweb:
image: jitsi/web
ports:
- target: 80
published: 8000
protocol: tcp
# mode: host
- target: 443
published: 8443
protocol: tcp
# mode: host
deploy:
replicas: 1
placement:
constraints:
- “node.labels.use==jitsi1”
volumes:
- /home/ubuntu/jitsi-meet/jitsi-meet-cfg/web:/config
- /home/ubuntu/jitsi-meet/jitsi-meet-cfg/web/letsencrypt:/etc/letsencrypt
- /home/ubuntu/jitsi-meet/jitsi-meet-cfg/transcripts:/usr/share/jitsi-meet/transcripts
environment:
ENABLE_AUTH:
ENABLE_GUESTS:
ENABLE_LETSENCRYPT:
ENABLE_HTTP_REDIRECT:
ENABLE_TRANSCRIPTIONS:
DISABLE_HTTPS:
JICOFO_AUTH_USER:
LETSENCRYPT_DOMAIN:
LETSENCRYPT_EMAIL:
PUBLIC_URL: “https://192.168.2.131
XMPP_DOMAIN: meetjitsi
XMPP_AUTH_DOMAIN: auth.meetjitsi
XMPP_BOSH_URL_BASE: http://xmpp.meetjitsi:5280
XMPP_GUEST_DOMAIN: guest.meetjitsi
XMPP_MUC_DOMAIN: internal-muc.meetjitsi
XMPP_RECORDER_DOMAIN: recorder.meetjitsi
ETHERPAD_URL_BASE:
TZ: UTC
JIBRI_BREWERY_MUC: jibribrewery
JIBRI_PENDING_TIMEOUT: 90
JIBRI_XMPP_USER: jibri
JIBRI_XMPP_PASSWORD: passw0rd1
JIBRI_RECORDER_USER: recorder
JIBRI_RECORDER_PASSWORD: passw0rd1
ENABLE_RECORDING: 1
networks:
- medeva_network

# XMPP server
prosody:
    image: jitsi/prosody
    deploy:
      replicas: 1
      placement:
        constraints:
          - "node.labels.use==jitsi1" 
    volumes:
        - /home/ubuntu/jitsi-meet/jitsi-meet-cfg/prosody:/config
    environment:
        AUTH_TYPE:
        ENABLE_AUTH:
        ENABLE_GUESTS:
        GLOBAL_MODULES:
        GLOBAL_CONFIG:
        LDAP_URL:
        LDAP_BASE:
        LDAP_BINDDN:
        LDAP_BINDPW:
        LDAP_FILTER:
        LDAP_AUTH_METHOD:
        LDAP_VERSION:
        LDAP_USE_TLS:
        LDAP_TLS_CIPHERS:
        LDAP_TLS_CHECK_PEER:
        LDAP_TLS_CACERT_FILE:
        LDAP_TLS_CACERT_DIR:
        LDAP_START_TLS:
        XMPP_DOMAIN:
        XMPP_AUTH_DOMAIN:
        XMPP_GUEST_DOMAIN:
        XMPP_MUC_DOMAIN:
        XMPP_INTERNAL_MUC_DOMAIN:
        XMPP_MODULES:
        XMPP_MUC_MODULES:
        XMPP_INTERNAL_MUC_MODULES:
        XMPP_RECORDER_DOMAIN:
        JICOFO_COMPONENT_SECRET: s3cr371
        JICOFO_AUTH_USER: focus
        JICOFO_AUTH_PASSWORD: passw0rd1
        JVB_AUTH_USER: jvb
        JVB_AUTH_PASSWORD: passw0rd1
        JIGASI_XMPP_USER: jigasi
        JIGASI_XMPP_PASSWORD: passw0rd1
        JIBRI_XMPP_USER: jibri
        JIBRI_XMPP_PASSWORD: passw0rd1
        JIBRI_RECORDER_USER: recorder
        JIBRI_RECORDER_PASSWORD: passw0rd1
        JWT_APP_ID: 
        JWT_APP_SECRET:
        JWT_ACCEPTED_ISSUERS:
        JWT_ACCEPTED_AUDIENCES:
        JWT_ASAP_KEYSERVER:
        JWT_ALLOW_EMPTY:
        JWT_AUTH_TYPE:
        JWT_TOKEN_AUTH_MODULE:
        LOG_LEVEL: info
        TZ: UTC
    networks:
      - medeva_network

# Focus component
jicofo:
    image: jitsi/jicofo
    deploy:
      replicas: 1
      placement:
        constraints:
          - "node.labels.use==jitsi1" 
    volumes:
        - /home/ubuntu/jitsi-meet/jitsi-meet-cfg/jicofo:/config
    environment:
        ENABLE_AUTH:
        XMPP_DOMAIN: meetjitsi
        XMPP_AUTH_DOMAIN: auth.meetjitsi
        XMPP_INTERNAL_MUC_DOMAIN: internal-muc.meetjitsi
        XMPP_SERVER: xmpp.meetjitsi
        JICOFO_COMPONENT_SECRET: s3cr371
        JICOFO_AUTH_USER: focus
        JICOFO_AUTH_PASSWORD: passw0rd1
        JICOFO_RESERVATION_REST_BASE_URL: 
        JVB_BREWERY_MUC: jvbbrewery
        JIGASI_BREWERY_MUC: jigasibrewery
        JIBRI_BREWERY_MUC: jibribrewery
        JIBRI_PENDING_TIMEOUT: 90
        TZ: UTC
    depends_on:
        - prosody
    networks:
      - medeva_network        

# Video bridge
jvb:
    image: jitsi/jvb
    deploy:
      replicas: 1
      placement:
        constraints:
          - "node.labels.use==jitsi1" 
    ports:
      - target: 10000
        published: 10000
        protocol: udp
        mode: host
      - target: 4443
        published: 4443
        protocol: tcp
        mode: host
    volumes:
      - /home/ubuntu/jitsi-meet/jitsi-meet-cfg/jvb:/config
    environment:
        DOCKER_HOST_ADDRESS:
        XMPP_AUTH_DOMAIN: auth.meetjitsi
        XMPP_INTERNAL_MUC_DOMAIN: internal-muc.meetjitsi
        XMPP_SERVER: xmpp.meet.your.fqdn.com
        JVB_AUTH_USER: jvb
        JVB_AUTH_PASSWORD: passw0rd
        JVB_BREWERY_MUC: jvbbrewery
        JVB_PORT: 10000
        JVB_TCP_HARVESTER_DISABLED: 0
        JVB_TCP_PORT: 4443
        JVB_STUN_SERVERS: stun.l.google.com:19302,stun1.l.google.com:19302,stun2.l.google.com:19302
        JVB_ENABLE_APIS: rest,colibri
        TZ: UTC
    depends_on:
        - prosody

    networks:
      - medeva_network
jigasi:
    image: jitsi/jigasi
    deploy:
      replicas: 1
      placement:
        constraints:
          - "node.labels.use==jitsi1" 
    ports:
        - '20000-20050:20000-20050/udp'
    volumes:
        - /home/ubuntu/jitsi-meet/jitsi-meet-cfg/jigasi:/config
        - /home/ubuntu/jitsi-meet/jitsi-meet-cfg/transcripts:/tmp/transcripts
    environment:
        ENABLE_AUTH:
        XMPP_AUTH_DOMAIN: auth.meetjitsi
        XMPP_INTERNAL_MUC_DOMAIN: internal-muc.meetjitsi
        XMPP_SERVER: xmpp.meetjitsi
        XMPP_DOMAIN: meetjitsi
        PUBLIC_URL: "https://192.168.2.131"
        JIGASI_SIP_URI: 
        JIGASI_SIP_PASSWORD:
        JIGASI_SIP_SERVER:
        JIGASI_SIP_PORT:
        JIGASI_SIP_TRANSPORT:
        JIGASI_XMPP_USER: jigasi
        JIGASI_XMPP_PASSWORD: passw0rd1
        JIGASI_BREWERY_MUC: jigasibrewery
        JIGASI_PORT_MIN: 20000
        JIGASI_PORT_MAX: 20050
        JIGASI_HEALTH_CHECK_SIP_URI:
        JIGASI_HEALTH_CHECK_INTERVAL:
        JIGASI_SIP_KEEP_ALIVE_METHOD: 
        JIGASI_ENABLE_SDES_SRTP: 
        ENABLE_TRANSCRIPTIONS:
        JIGASI_TRANSCRIBER_ADVERTISE_URL:
        JIGASI_TRANSCRIBER_RECORD_AUDIO:
        JIGASI_TRANSCRIBER_SEND_TXT:
        GOOGLE_APPLICATION_CREDENTIALS:
        TZ: UTC
    depends_on:
        - prosody
    networks:
      - medeva_network
etherpad:
    image: jitsi/etherpad
    deploy:
      replicas: 1
      placement:
        constraints:
          - "node.labels.use==jitsi1" 
    networks:
      - medeva_network

networks:
medeva_network:
external: true

Did you ever get it working?

yes. but not jibri, recording feature.