defaults | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
vars | ||
.gitignore | ||
README.md | ||
requirements.yml |
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