docker-compose-synapse.yml 928 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. version: '2'
  2. services:
  3. staff-server:
  4. privileged: true
  5. image: "docker.finogeeks.club/finochat/homeserver:1.25.13"
  6. environment:
  7. DB_DATABASE: matrix
  8. DB_HOST: postgres
  9. DB_PASSWORD: mm123321
  10. DB_USER: matrix
  11. DOMAIN_NAME: localhost
  12. RESOURCES: client,webclient
  13. ENABLE_REGISTRATION: "True"
  14. SECRET_KEY: "ForPyTest"
  15. ports:
  16. - 8448:8448
  17. - 8008:8008
  18. command:
  19. - start
  20. depends_on:
  21. - postgres
  22. links:
  23. - postgres
  24. labels:
  25. io.rancher.container.pull_image: always
  26. io.rancher.scheduler.affinity:host_label: hs.retail.env=finochat
  27. postgres:
  28. image: "docker.finogeeks.club/base/postgres"
  29. environment:
  30. POSTGRES_DB: matrix
  31. POSTGRES_PASSWORD: mm123321
  32. POSTGRES_USER: matrix
  33. ports:
  34. - 15433:5432
  35. #volumes:
  36. # - ./db/data:/var/lib/postgresql/data
  37. networks:
  38. app_net:
  39. external: true