Go to file
2024-09-03 11:13:54 -05:00
defaults fix: refactor and add docker tests 2024-09-03 10:57:30 -05:00
handlers init commit 2024-08-29 14:54:11 -05:00
meta fix: refactor and add docker tests 2024-09-03 10:57:30 -05:00
tasks fix: refactor and add docker tests 2024-09-03 10:57:30 -05:00
templates init commit 2024-08-29 14:54:11 -05:00
vars init commit 2024-08-29 14:54:11 -05:00
.gitignore fix: refactor and add docker tests 2024-09-03 10:57:30 -05:00
README.md fix: update README.md to correct role name 2024-09-03 11:13:54 -05:00
requirements.yml fix: refactor and add docker tests 2024-09-03 10:57:30 -05:00

ansible-role-simplex-chat-server

Spin up a SimpleX SMP/XFTP server, optionally hosted/proxied with Tor

Requirements

None.

Role Variables

########################################################

DOCKER_DIR: /opt/docker

########################################################

SIMPLEX_UID: 1000
SIMPLEX_GID: 1000

SIMPLEX_SMP_SERVER_ENABLED: true
SIMPLEX_SMP_IMAGE: simplexchat/smp-server:latest
SIMPLEX_SMP_PORT: 5223
SIMPLEX_SMP_ADDR: changeme.internal
SIMPLEX_SMP_PASSWORD:

SIMPLEX_XFTP_SERVER_ENABLED: true
SIMPLEX_XFTP_IMAGE: simplexchat/xftp-server:latest
SIMPLEX_XFTP_PORT: 5233
SIMPLEX_XFTP_QUOTA: 150gb
SIMPLEX_XFTP_ADDR: changeme.internal
SIMPLEX_XFTP_EXPIRE_FILE_HOURS: 48

########################################################

TOR_ENABLED: true
TOR_PROXY_ENABLED: false
TOR_SINGLE_HOP_MODE_ENABLED: true
TOR_NON_ANONYMOUS_MODE_ENABLED: true

########################################################

WATCHTOWER_ENABLED: true

########################################################

Dependencies

collections:
  - name: community.docker
roles:
  - src: geerlingguy.docker

Example Playbook

---

- hosts: vps
  become: yes
  gather_facts: true

  pre_tasks:
    - ansible.builtin.include_tasks: tasks/docker-check.yml

  roles:
    - role: ansible-role-simplex-chat-server
      vars:
        SIMPLEX_UID: 5000
        SIMPLEX_GID: 5000
        SIMPLEX_XFTP_QUOTA: 1gb
        SIMPLEX_SMP_ADDR: example.org
        SIMPLEX_XFTP_ADDR: example.org

License

AGPL-3.0-or-later

Author Information