version: '3.4'
services:
  # Instant Messaging
  riot:
    build:
      context: ./riotweb
      args:
        # https://github.com/vector-im/element-web/releases
        VERSION: 1.11.49
    image: lxpz/amd64_elementweb:v35

  synapse:
    build:
      context: ./matrix-synapse
      args:
        # https://github.com/matrix-org/synapse/releases
        VERSION: 1.95.1
        # https://github.com/matrix-org/synapse-s3-storage-provider/commits/main
        # Update with the latest commit on main each time you update the synapse version
        # otherwise synapse may fail to launch due to incompatibility issues
        # see this issue for an example: https://github.com/matrix-org/synapse-s3-storage-provider/issues/64
        S3_VERSION: v1.2.1
    image: lxpz/amd64_synapse:v58