docker-synapse.minervajuppiter.net

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

docker-compose.yml (1981B)


      1 # tuwunel
      2 
      3 services:
      4     homeserver:
      5         ### If you already built the tuwunel image with 'docker build' or want to use a registry image,
      6         ### then you are ready to go.
      7         image: ghcr.io/matrix-construct/tuwunel:latest
      8         restart: unless-stopped
      9         ports:
     10             - 8448:6167
     11         volumes:
     12             - db:/var/lib/tuwunel
     13             #- ./tuwunel.toml:/etc/tuwunel.toml
     14         environment:
     15             TUWUNEL_SERVER_NAME: docker-synapse.minervajuppiter.net # EDIT THIS
     16             TUWUNEL_DATABASE_PATH: /var/lib/tuwunel
     17             TUWUNEL_PORT: 6167
     18             TUWUNEL_MAX_REQUEST_SIZE: 20000000 # in bytes, ~20 MB
     19             TUWUNEL_ALLOW_REGISTRATION: 'true'
     20             TUWUNEL_REGISTRATION_TOKEN: 'PSrYqEAJUpsLfsARbJWnMbs9WbxygM79' # A registration token is required when registration is allowed.
     21             #TUWUNEL_YES_I_AM_VERY_VERY_SURE_I_WANT_AN_OPEN_REGISTRATION_SERVER_PRONE_TO_ABUSE: 'true'
     22             TUWUNEL_ALLOW_FEDERATION: 'true'
     23             TUWUNEL_TRUSTED_SERVERS: '["matrix.org"]'
     24             #TUWUNEL_LOG: warn,state_res=warn
     25             TUWUNEL_ADDRESS: 0.0.0.0
     26             #TUWUNEL_CONFIG: '/etc/tuwunel.toml' # Uncomment if you mapped config toml above
     27     #
     28     ### Uncomment if you want to use your own Element-Web App.
     29     ### Note: You need to provide a config.json for Element and you also need a second
     30     ###       Domain or Subdomain for the communication between Element and tuwunel
     31     ### Config-Docs: https://github.com/vector-im/element-web/blob/develop/docs/config.md
     32     # element-web:
     33     #     image: vectorim/element-web:latest
     34     #     restart: unless-stopped
     35     #     ports:
     36     #         - 8009:80
     37     #     volumes:
     38     #         - ./element_config.json:/app/config.json
     39     #     depends_on:
     40     #         - homeserver
     41     watchtower:
     42       image: nickfedor/watchtower:latest
     43       restart: unless-stopped
     44       volumes: 
     45         - /var/run/docker.sock:/var/run/docker.sock
     46 volumes:
     47   db: