Compare commits
14 commits
feature/di
...
master
Author | SHA1 | Date | |
---|---|---|---|
a7d28c6b9b | |||
b95aa3bc89 | |||
321cf7d992 | |||
1026ff5c29 | |||
a99b5922ab | |||
f4877cea21 | |||
44ebdef575 | |||
0d65488f34 | |||
1217fc0fa4 | |||
ff802c6f71 | |||
18b6ebd7aa | |||
e64a056966 | |||
3a89a87f08 | |||
5ef0b58131 |
8 changed files with 61 additions and 47 deletions
|
@ -25,6 +25,7 @@ The main goals of this project are:
|
||||||
- [ONLYOFFICE Document Server](https://www.onlyoffice.com/) (integrates with Nextcloud)
|
- [ONLYOFFICE Document Server](https://www.onlyoffice.com/) (integrates with Nextcloud)
|
||||||
- [Collabora Online Development Edition](https://www.collaboraoffice.com/code/) (integrates with Nextcloud)
|
- [Collabora Online Development Edition](https://www.collaboraoffice.com/code/) (integrates with Nextcloud)
|
||||||
- [Cryptpad](https://cryptpad.fr/)
|
- [Cryptpad](https://cryptpad.fr/)
|
||||||
|
- [Coturn TURN/STUN server](https://github.com/coturn/coturn)
|
||||||
|
|
||||||
### WIP
|
### WIP
|
||||||
|
|
||||||
|
|
|
@ -19,3 +19,6 @@ ssh_args = -o ControlMaster=auto -o ControlPersist=600s -o ServerAliveInterval=6
|
||||||
control_path = %(directory)s/%%h-%%r
|
control_path = %(directory)s/%%h-%%r
|
||||||
pipelining = True
|
pipelining = True
|
||||||
timeout = 10
|
timeout = 10
|
||||||
|
|
||||||
|
[persistent_connection]
|
||||||
|
ssh_type = libssh
|
7
coturn.yml
Normal file
7
coturn.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
# coturn TURN server
|
||||||
|
|
||||||
|
- hosts: coturn
|
||||||
|
become: true
|
||||||
|
roles:
|
||||||
|
- jotbe.coturn-docker
|
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
- hosts: docker
|
- hosts: docker
|
||||||
become: true
|
become: true
|
||||||
|
pre_tasks:
|
||||||
|
- name: Install pip packages for Docker
|
||||||
|
ansible.builtin.pip:
|
||||||
|
name: "{{ pip_install_packages }}"
|
||||||
roles:
|
roles:
|
||||||
- geerlingguy.pip
|
|
||||||
- geerlingguy.docker
|
|
||||||
- jotbe.traefik-docker
|
- jotbe.traefik-docker
|
|
@ -1,11 +1,6 @@
|
||||||
pip_package: python3-pip
|
#pip_package: python3-pip
|
||||||
pip_install_packages:
|
pip_install_packages:
|
||||||
- name: docker
|
- docker
|
||||||
- name: docker-compose
|
- docker-compose
|
||||||
docker_edition: "ce"
|
|
||||||
docker_version: "19.03.5"
|
|
||||||
docker_package: "docker-{{ docker_edition }}"
|
|
||||||
docker_package_state: present
|
|
||||||
docker_compose_version: "1.25.0"
|
|
||||||
docker_users:
|
docker_users:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
|
@ -16,14 +16,11 @@ firewall_allowed_udp_ports:
|
||||||
users:
|
users:
|
||||||
- deploy
|
- deploy
|
||||||
sudoers: []
|
sudoers: []
|
||||||
docker_user: deploy
|
|
||||||
cryptpad_install_user: "{{ docker_user }}"
|
|
||||||
cryptpad_virtual_host: pad.satt.local
|
cryptpad_virtual_host: pad.satt.local
|
||||||
cryptpad_safe_virtual_host: pad-sandbox.satt.local
|
cryptpad_safe_virtual_host: pad-sandbox.satt.local
|
||||||
cryptpad_admin_email: admin@example.tld
|
cryptpad_admin_email: admin@example.tld
|
||||||
cryptpad_block_daily_check: yes
|
cryptpad_block_daily_check: yes
|
||||||
nextcloud_install_user: "{{ docker_user }}"
|
mariadb_root_password: password
|
||||||
nextcloud_mariadb_root_password: password
|
|
||||||
nextcloud_mariadb_user: nextcloud
|
nextcloud_mariadb_user: nextcloud
|
||||||
nextcloud_mariadb_password: password
|
nextcloud_mariadb_password: password
|
||||||
nextcloud_admin_user: admin
|
nextcloud_admin_user: admin
|
||||||
|
@ -34,18 +31,15 @@ nextcloud_overwrite_host: nextcloud.satt.local
|
||||||
nextcloud_overwrite_protocol: http
|
nextcloud_overwrite_protocol: http
|
||||||
nextcloud_enable_restic_compose_backup: False
|
nextcloud_enable_restic_compose_backup: False
|
||||||
nextcloud_virtual_host: nextcloud.satt.local
|
nextcloud_virtual_host: nextcloud.satt.local
|
||||||
collabora_install_user: "{{ docker_user }}"
|
|
||||||
collabora_virtual_host: collabora.satt.local
|
collabora_virtual_host: collabora.satt.local
|
||||||
collabora_domain_regex_pattern: nextcloud\.satt\.local
|
collabora_domain_regex_pattern: nextcloud\.satt\.local
|
||||||
collabora_admin_user: admin
|
collabora_admin_user: admin
|
||||||
collabora_admin_password: password
|
collabora_admin_password: password
|
||||||
onlyoffice_install_user: "{{ docker_user }}"
|
|
||||||
onlyoffice_virtual_host: documentserver.satt.local
|
onlyoffice_virtual_host: documentserver.satt.local
|
||||||
onlyoffice_allow_origin_list: "{{ nextcloud_overwrite_cli_url }}"
|
onlyoffice_allow_origin_list: "{{ nextcloud_overwrite_cli_url }}"
|
||||||
onlyoffice_jwt_enabled: "true"
|
onlyoffice_jwt_enabled: "true"
|
||||||
onlyoffice_jwt_secret: topsecrettoken
|
onlyoffice_jwt_secret: topsecrettoken
|
||||||
onlyoffice_jwt_header: Authorization
|
onlyoffice_jwt_header: Authorization
|
||||||
jitsi_install_user: "{{ docker_user }}"
|
|
||||||
jitsi_public_url: https://jitsi.satt.local
|
jitsi_public_url: https://jitsi.satt.local
|
||||||
jitsi_docker_host_address: "{{ ansible_host }}"
|
jitsi_docker_host_address: "{{ ansible_host }}"
|
||||||
jitsi_exposed_http_port: 8000
|
jitsi_exposed_http_port: 8000
|
||||||
|
@ -55,10 +49,11 @@ jitsi_enable_letsencrypt: False
|
||||||
jitsi_virtual_host: jitsi.satt.local
|
jitsi_virtual_host: jitsi.satt.local
|
||||||
jitsi_jvb_stun_servers: meet-jit-si-turnrelay.jitsi.net:443
|
jitsi_jvb_stun_servers: meet-jit-si-turnrelay.jitsi.net:443
|
||||||
jitsi_web_channel_last_n: 2
|
jitsi_web_channel_last_n: 2
|
||||||
traefik_install_user: "{{ docker_user }}"
|
docker_user: deploy
|
||||||
traefik_expose_internally: True
|
traefik:
|
||||||
traefik_expose_externally: False
|
expose_internally: True
|
||||||
traefik_enable_acme: False
|
expose_externally: False
|
||||||
traefik_use_acme_staging: False
|
enable_acme: False
|
||||||
traefik_dns_challenge_provider: False
|
use_acme_staging: False
|
||||||
|
dns_challenge_provider: False
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,35 @@
|
||||||
- geerlingguy.firewall
|
collections:
|
||||||
- geerlingguy.pip
|
- community.docker
|
||||||
- geerlingguy.docker
|
|
||||||
|
|
||||||
- name: jotbe.common
|
roles:
|
||||||
|
- geerlingguy.firewall
|
||||||
|
- geerlingguy.pip
|
||||||
|
# - geerlingguy.docker
|
||||||
|
|
||||||
|
- name: jotbe.common
|
||||||
src: https://git.jotbe.io/jotbe/ansible-role-common.git
|
src: https://git.jotbe.io/jotbe/ansible-role-common.git
|
||||||
scm: git
|
scm: git
|
||||||
- name: jotbe.traefik-docker
|
- name: jotbe.traefik-docker
|
||||||
src: https://git.jotbe.io/jotbe/ansible-role-traefik-docker.git
|
src: https://git.jotbe.io/jotbe/ansible-role-traefik-docker.git
|
||||||
scm: git
|
scm: git
|
||||||
- name: jotbe.nextcloud-docker
|
- name: jotbe.nextcloud-docker
|
||||||
|
version: v1.0.2
|
||||||
src: https://git.jotbe.io/jotbe/ansible-role-nextcloud-docker.git
|
src: https://git.jotbe.io/jotbe/ansible-role-nextcloud-docker.git
|
||||||
scm: git
|
scm: git
|
||||||
- name: jotbe.jitsi-docker
|
- name: jotbe.coturn-docker
|
||||||
|
src: https://git.jotbe.io/jotbe/ansible-role-coturn-docker.git
|
||||||
|
scm: git
|
||||||
|
- name: jotbe.jitsi-docker
|
||||||
|
version: v1.0.0
|
||||||
src: https://git.jotbe.io/jotbe/ansible-role-jitsi-docker.git
|
src: https://git.jotbe.io/jotbe/ansible-role-jitsi-docker.git
|
||||||
scm: git
|
scm: git
|
||||||
- name: jotbe.collabora-online-docker
|
- name: jotbe.collabora-online-docker
|
||||||
|
version: v1.0.0
|
||||||
src: https://git.jotbe.io/jotbe/ansible-role-collabora-online-docker.git
|
src: https://git.jotbe.io/jotbe/ansible-role-collabora-online-docker.git
|
||||||
scm: git
|
scm: git
|
||||||
- name: jotbe.onlyoffice-document-server-docker
|
- name: jotbe.onlyoffice-document-server-docker
|
||||||
src: https://git.jotbe.io/jotbe/ansible-role-onlyoffice-document-server-docker.git
|
src: https://git.jotbe.io/jotbe/ansible-role-onlyoffice-document-server-docker.git
|
||||||
scm: git
|
scm: git
|
||||||
- name: jotbe.cryptpad-docker
|
- name: jotbe.cryptpad-docker
|
||||||
src: https://git.jotbe.io/jotbe/ansible-role-cryptpad-docker.git
|
src: https://git.jotbe.io/jotbe/ansible-role-cryptpad-docker.git
|
||||||
scm: git
|
scm: git
|
||||||
|
|
1
site.yml
1
site.yml
|
@ -5,5 +5,6 @@
|
||||||
- import_playbook: docker.yml
|
- import_playbook: docker.yml
|
||||||
- import_playbook: nextcloud.yml
|
- import_playbook: nextcloud.yml
|
||||||
- import_playbook: collabora-online.yml
|
- import_playbook: collabora-online.yml
|
||||||
|
- import_playbook: coturn.yml
|
||||||
- import_playbook: jitsi.yml
|
- import_playbook: jitsi.yml
|
||||||
- import_playbook: cryptpad.yml
|
- import_playbook: cryptpad.yml
|
||||||
|
|
Loading…
Add table
Reference in a new issue