From 8efc7e4bf328e26b52d84b0e18118aae2b12bde0 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 17 Apr 2023 09:42:47 +0300 Subject: [PATCH 1/9] Add Appsmith support --- docs/services/appsmith.md | 60 ++++++++++++++++++++++++++++++++++++++ docs/supported-services.md | 1 + group_vars/mash_servers | 35 ++++++++++++++++++++++ requirements.yml | 3 ++ setup.yml | 2 ++ 5 files changed, 101 insertions(+) create mode 100644 docs/services/appsmith.md diff --git a/docs/services/appsmith.md b/docs/services/appsmith.md new file mode 100644 index 0000000..48ca0b8 --- /dev/null +++ b/docs/services/appsmith.md @@ -0,0 +1,60 @@ +# Appsmith + +[Appsmith](https://www.appsmith.com/) is an open-source platform that enables developers to build and deploy custom internal tools and applications without writing code. + + +## Dependencies + +This service requires the following other services: + +- a [Traefik](traefik.md) reverse-proxy server + + +## Configuration + +To enable this service, add the following configuration to your `vars.yml` file and re-run the [installation](../installing.md) process: + +```yaml +######################################################################## +# # +# appsmith # +# # +######################################################################## + +appsmith_enabled: true + +appsmith_hostname: appsmith.example.com + +# WARNING: remove this after you create your user account, +# unless you'd like to run a server with public registration enabled. +appsmith_environment_variable_appsmith_signup_disabled: false + +######################################################################## +# # +# /appsmith # +# # +######################################################################## +``` + + +### URL + +In the example configuration above, we configure the service to be hosted at `https://appsmith.example.com`. + +Hosting Appsmith under a subpath (by configuring the `appsmith_path_prefix` variable) does not seem to be possible right now, due to Appsmith limitations.. + + +### Authentication + +Public registration can be enabled/disabled using the `appsmith_environment_variable_appsmith_signup_disabled` variable. + +We recommend installing with public registration enabled at first, creating your first user account, and then disabling public registration (unless you need it). + + +## Usage + +After installation, you can go to the Appsmith URL, as defined in `appsmith_hostname`. + +As mentioned in [Authentication](#authentication) above, you can create the first user from the web interface. + +If you'd like to prevent other users from registering, consider disabling public registration by removing the `appsmith_environment_variable_appsmith_signup_disabled` references from your configuration and re-running the playbook (`just install-service appsmith`). diff --git a/docs/supported-services.md b/docs/supported-services.md index 1176c34..64baff6 100644 --- a/docs/supported-services.md +++ b/docs/supported-services.md @@ -4,6 +4,7 @@ | ------------------------------ | ------------------------------------- | ------------- | | [AUX](https://github.com/mother-of-all-self-hosting/ansible-role-aux) | Auxiliary file/directory management on your server via Ansible | [Link](services/auxiliary.md) | | [AdGuard Home](https://adguard.com/en/adguard-home/overview.html/) | A network-wide DNS software for blocking ads & tracking | [Link](services/adguard-home.md) | +| [Appsmith](https://www.appsmith.com/) | Platform for building and deploying custom internal tools and applications without writing code | [Link](services/appsmith.md) | | [Collabora Online](https://www.collaboraoffice.com/) | Your Private Office Suite In The Cloud | [Link](services/collabora-online.md) | | [Docker](https://www.docker.com/) | Open-source software for deploying containerized applications | [Link](services/docker.md) | | [Docker Registry](https://docs.docker.com/registry/) | A container image distribution registry | [Link](services/docker-registry.md) | diff --git a/group_vars/mash_servers b/group_vars/mash_servers index f54f5c4..92f9b6e 100644 --- a/group_vars/mash_servers +++ b/group_vars/mash_servers @@ -65,6 +65,8 @@ devture_systemd_service_manager_services_list_auto: | {{ ([{'name': (adguard_home_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'adguard-home']}] if adguard_home_enabled else []) + + ([{'name': (appsmith_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'appsmith']}] if appsmith_enabled else []) + + ([{'name': (collabora_online_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'collabora-online']}] if collabora_online_enabled else []) + ([{'name': (devture_postgres_identifier + '.service'), 'priority': 500, 'groups': ['mash', 'postgres']}] if devture_postgres_enabled else []) @@ -503,6 +505,39 @@ adguard_home_container_labels_traefik_tls_certResolver: "{{ devture_traefik_cert +######################################################################## +# # +# appsmith # +# # +######################################################################## + +appsmith_enabled: false + +appsmith_identifier: "{{ mash_playbook_service_identifier_prefix }}appsmith" + +appsmith_uid: "{{ mash_playbook_uid }}" +appsmith_gid: "{{ mash_playbook_gid }}" + +appsmith_base_path: "{{ mash_playbook_base_path }}/{{ mash_playbook_service_base_directory_name_prefix }}appsmith" + +appsmith_container_additional_networks_auto: | + {{ + ([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else []) + }} + +appsmith_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}" +appsmith_container_labels_traefik_docker_network: "{{ mash_playbook_reverse_proxyable_services_additional_network }}" +appsmith_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}" +appsmith_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}" + +######################################################################## +# # +# /appsmith # +# # +######################################################################## + + + ######################################################################## # # # collabora-online # diff --git a/requirements.yml b/requirements.yml index d448b53..03fec63 100644 --- a/requirements.yml +++ b/requirements.yml @@ -3,6 +3,9 @@ - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-adguard-home.git version: v0.107.26-1 name: adguard_home +- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-appsmith.git + version: v1.9.15-0 + name: appsmith - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-aux.git version: v1.0.0-0 name: aux diff --git a/setup.yml b/setup.yml index 79cfa34..8ce9d1a 100644 --- a/setup.yml +++ b/setup.yml @@ -56,6 +56,8 @@ - role: galaxy/adguard_home + - role: galaxy/appsmith + - role: galaxy/collabora_online - role: galaxy/docker_registry From b56abfca274ced01d03b2c95e97cb5075da711ae Mon Sep 17 00:00:00 2001 From: Aine Date: Mon, 17 Apr 2023 23:59:13 +0300 Subject: [PATCH 2/9] lago 0.28.1 -> 0.29.0; mrs 0.0.0-1 -> 0.0.0-2 --- requirements.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.yml b/requirements.yml index 03fec63..eb4b987 100644 --- a/requirements.yml +++ b/requirements.yml @@ -82,7 +82,7 @@ version: v21.0.2-0 name: keycloak - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-lago.git - version: v0.28.1-0 + version: v0.29.0-0 name: lago - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-mariadb.git version: v10.11.2-0 @@ -90,7 +90,7 @@ - src: git+https://gitlab.com/etke.cc/roles/miniflux.git version: v2.0.43-2 - src: git+https://gitlab.com/etke.cc/mrs/ansible-role-mrs.git - version: v0.0.0-1 + version: v0.0.0-2 name: mrs - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-navidrome.git version: v0.49.3-2 From 8ffd8ee4c5dcc4329b77fda2b6499c2ed8971ec7 Mon Sep 17 00:00:00 2001 From: Aine Date: Tue, 18 Apr 2023 09:45:03 +0300 Subject: [PATCH 3/9] radicale v3.1.8.2-0 --- requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.yml b/requirements.yml index eb4b987..adc250d 100644 --- a/requirements.yml +++ b/requirements.yml @@ -115,7 +115,7 @@ - src: git+https://gitlab.com/etke.cc/roles/prometheus_node_exporter.git version: v1.5.0-7 - src: git+https://gitlab.com/etke.cc/roles/radicale.git - version: v3.1.8.1-2 + version: v3.1.8.2-0 - src: git+https://gitlab.com/etke.cc/roles/redis.git version: v7.0.10-0 - src: git+https://gitlab.com/etke.cc/roles/redmine.git From a762841f19dfb706c03259b31555d97566e42974 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 18 Apr 2023 10:38:48 +0300 Subject: [PATCH 4/9] Upgrade systemd_docker_base, container_socket_proxy, Traefik, Syncthing These roles now obey `devture_systemd_docker_base_container_image_pull_method` and `devture_systemd_docker_base_container_network_creation_method` and can work on systems which don't have the Docker SDK for Python installed by avoiding the various Ansible Docker modules and using raw `docker` commands for pulling images and creating networks. --- requirements.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.yml b/requirements.yml index adc250d..eadaf89 100644 --- a/requirements.yml +++ b/requirements.yml @@ -13,7 +13,7 @@ version: v22.05.12.1.1-1 name: collabora_online - src: git+https://github.com/devture/com.devture.ansible.role.container_socket_proxy.git - version: v0.1.1-1 + version: v0.1.1-2 - src: git+https://github.com/devture/com.devture.ansible.role.docker_sdk_for_python.git version: 129c8590e106b83e6f4c259649a613c6279e937a - src: git+https://github.com/devture/com.devture.ansible.role.playbook_help.git @@ -27,13 +27,13 @@ - src: git+https://github.com/devture/com.devture.ansible.role.postgres_backup.git version: 8e9ec48a09284c84704d7a2dce17da35f181574d - src: git+https://github.com/devture/com.devture.ansible.role.systemd_docker_base.git - version: 327d2e17f5189ac2480d6012f58cf64a2b46efba + version: v1.0.0-0 - src: git+https://github.com/devture/com.devture.ansible.role.systemd_service_manager.git version: v1.0.0-0 - src: git+https://github.com/devture/com.devture.ansible.role.timesync.git version: 3d5bb2976815958cdce3f368fa34fb51554f899b - src: git+https://github.com/devture/com.devture.ansible.role.traefik.git - version: v2.9.10-0 + version: v2.9.10-1 - src: git+https://github.com/devture/com.devture.ansible.role.woodpecker_ci_agent.git version: v0.15.7-1 - src: git+https://github.com/devture/com.devture.ansible.role.woodpecker_ci_server.git @@ -127,7 +127,7 @@ - src: git+https://gitlab.com/etke.cc/roles/swap.git version: abfb18b6862108bbf24347500446203170324d7f - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-syncthing.git - version: v1.23.4-0 + version: v1.23.4-1 name: syncthing - src: git+https://gitlab.com/etke.cc/roles/uptime_kuma.git version: v1.21.2-0 From 87e058f63dfdd34899229ee8905ba0f2947e1e60 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 18 Apr 2023 10:58:42 +0300 Subject: [PATCH 5/9] Upgrade Traefik (v2.9.10-1 -> v2.9.10-2) --- requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.yml b/requirements.yml index eadaf89..10e4775 100644 --- a/requirements.yml +++ b/requirements.yml @@ -33,7 +33,7 @@ - src: git+https://github.com/devture/com.devture.ansible.role.timesync.git version: 3d5bb2976815958cdce3f368fa34fb51554f899b - src: git+https://github.com/devture/com.devture.ansible.role.traefik.git - version: v2.9.10-1 + version: v2.9.10-2 - src: git+https://github.com/devture/com.devture.ansible.role.woodpecker_ci_agent.git version: v0.15.7-1 - src: git+https://github.com/devture/com.devture.ansible.role.woodpecker_ci_server.git From a151ed4f68bc089784cb26ccf588aaffe97971d9 Mon Sep 17 00:00:00 2001 From: Aine Date: Tue, 18 Apr 2023 17:18:22 +0300 Subject: [PATCH 6/9] mrs cron configs --- requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.yml b/requirements.yml index 10e4775..3192670 100644 --- a/requirements.yml +++ b/requirements.yml @@ -90,7 +90,7 @@ - src: git+https://gitlab.com/etke.cc/roles/miniflux.git version: v2.0.43-2 - src: git+https://gitlab.com/etke.cc/mrs/ansible-role-mrs.git - version: v0.0.0-2 + version: v0.0.0-3 name: mrs - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-navidrome.git version: v0.49.3-2 From e6266039f194ca1161c07f1f93c824d89d0a2cc4 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 18 Apr 2023 17:37:12 +0300 Subject: [PATCH 7/9] Upgrade Firezone (v0.7.25-0 -> v0.7.25-2) --- requirements.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.yml b/requirements.yml index 3192670..23335f0 100644 --- a/requirements.yml +++ b/requirements.yml @@ -49,8 +49,8 @@ name: docker_registry_purger - src: git+https://gitlab.com/etke.cc/roles/fail2ban.git version: 09886730e8d3c061f22d1da4a542899063f97f0a -- src: git+https://github.com/moan0s/role-firezone.git - version: v0.7.25-0 +- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-firezone.git + version: v0.7.25-2 name: firezone - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-focalboard.git version: v7.9.3-1 From b59a27818b3f2dbd094ba646f822ac7c9568312a Mon Sep 17 00:00:00 2001 From: Aine Date: Tue, 18 Apr 2023 18:50:41 +0300 Subject: [PATCH 8/9] mrs languages list --- requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.yml b/requirements.yml index 23335f0..0227545 100644 --- a/requirements.yml +++ b/requirements.yml @@ -90,7 +90,7 @@ - src: git+https://gitlab.com/etke.cc/roles/miniflux.git version: v2.0.43-2 - src: git+https://gitlab.com/etke.cc/mrs/ansible-role-mrs.git - version: v0.0.0-3 + version: v0.0.0-4 name: mrs - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-navidrome.git version: v0.49.3-2 From 1930b108dc65d5f22d6d30e35628fe8d655568c9 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 19 Apr 2023 10:35:59 +0300 Subject: [PATCH 9/9] Upgrade Appsmith (v1.9.15-0 -> v1.9.16-0) --- requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.yml b/requirements.yml index 0227545..07c3d26 100644 --- a/requirements.yml +++ b/requirements.yml @@ -4,7 +4,7 @@ version: v0.107.26-1 name: adguard_home - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-appsmith.git - version: v1.9.15-0 + version: v1.9.16-0 name: appsmith - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-aux.git version: v1.0.0-0