From 83782355266847dde4a4d4effb712bfc6d6be4f7 Mon Sep 17 00:00:00 2001 From: brooke Date: Wed, 26 Mar 2025 18:34:57 -0400 Subject: [PATCH 1/6] init readme --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e5bbb58 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# mobilizon + +> A tool that helps you find, create and organize events utilizing ActivityPub! + + + +* **Category**: Apps +* **Status**: 0 +* **Image**: [`mobilizon`](https://hub.docker.com/r/framasoft/mobilizon), 4, upstream +* **Healthcheck**: No +* **Backups**: No +* **Email**: Yes +* **Tests**: No +* **SSO**: No + + + +## Quick start + +SMTP is required for setup, supply that secret first +* `abra app new mobilizon` +* `abra app secret i smtp_password v1 ` +* `abra app secret g --all ` +* `abra app config ` +* `abra app deploy ` + +## Create your first admin account + +* `abra app run app mobilizon_ctl users.new "" --admin --password ""` + +After logging in with these credentials the user will be prompted to set a nick and uri (ie. something like `username@mobilizon.example.com`). + +For more, see [`docs.mobilizon.org`](https://docs.mobilizon.org). -- 2.49.0 From dbdd9e53f11d50ab29f7c4193c1ec1d8ac3aef97 Mon Sep 17 00:00:00 2001 From: brooke Date: Wed, 26 Mar 2025 18:36:24 -0400 Subject: [PATCH 2/6] bump mobilizon image to latest --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 51750c8..2a0537a 100644 --- a/compose.yml +++ b/compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: app: - image: framasoft/mobilizon:4.1.0 + image: framasoft/mobilizon:5.1.2 environment: - MOBILIZON_INSTANCE_NAME - MOBILIZON_INSTANCE_HOST=https://$DOMAIN -- 2.49.0 From f8f874a5c19709165ab78828fc471195a50f78e9 Mon Sep 17 00:00:00 2001 From: brooke Date: Fri, 28 Mar 2025 03:12:48 -0400 Subject: [PATCH 3/6] remove protocol from MOBILIZON_INSTANCE_HOST as it seems that mobilizon expects the hostname on it's own, this fixes https://git.coopcloud.tech/MIR/mobilizon/issues/1 --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 2a0537a..a205476 100644 --- a/compose.yml +++ b/compose.yml @@ -6,7 +6,7 @@ services: image: framasoft/mobilizon:5.1.2 environment: - MOBILIZON_INSTANCE_NAME - - MOBILIZON_INSTANCE_HOST=https://$DOMAIN + - MOBILIZON_INSTANCE_HOST=$DOMAIN - MOBILIZON_INSTANCE_LISTEN_IP - MOBILIZON_INSTANCE_PORT - MOBILIZON_INSTANCE_EMAIL -- 2.49.0 From 7b56ff10c9dc437f28a30c7e9ceb07c446f8106e Mon Sep 17 00:00:00 2001 From: brooke Date: Fri, 28 Mar 2025 04:18:02 -0400 Subject: [PATCH 4/6] add postgis and mobilizon healthcheck --- README.md | 4 ++-- compose.yml | 24 +++++++++++------------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index e5bbb58..c972d33 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ * **Category**: Apps -* **Status**: 0 +* **Status**: 2 * **Image**: [`mobilizon`](https://hub.docker.com/r/framasoft/mobilizon), 4, upstream -* **Healthcheck**: No +* **Healthcheck**: Yes * **Backups**: No * **Email**: Yes * **Tests**: No diff --git a/compose.yml b/compose.yml index a205476..fa0f634 100644 --- a/compose.yml +++ b/compose.yml @@ -34,9 +34,7 @@ services: - db_password volumes: - "uploads:/var/lib/mobilizon/uploads" - # - ${PWD}/config.exs:/etc/mobilizon/config.exs:ro entrypoint: /custom-entrypoint.sh - # entrypoint: ["/bin/sh", "-c", "sleep 10000000000000000"] configs: - source: app_entrypoint target: /custom-entrypoint.sh @@ -53,17 +51,12 @@ services: - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - - "coop-cloud.${STACK_NAME}.version=0.1.1+4.1.0" - ## Redirect from EXTRA_DOMAINS to DOMAIN - #- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect" - #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" - #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" - # healthcheck: - # test: ["CMD", "curl", "-f", "http://localhost"] - # interval: 30s - # timeout: 10s - # retries: 10 - # start_period: 1m + - "coop-cloud.${STACK_NAME}.version=0.2.1+5.1.2" + healthcheck: + test: ["CMD", "curl", "-s", "http://localhost:4000"] + interval: 30s + timeout: 5s + retries: 3 db: deploy: @@ -82,6 +75,11 @@ services: POSTGRES_DB: mobilizon POSTGRES_USER: mobilizon POSTGRES_PASSWORD_FILE: /run/secrets/db_password + healthcheck: + test: ["CMD-SHELL", "pg_isready"] + interval: 10s + timeout: 5s + retries: 5 volumes: uploads: -- 2.49.0 From 4a017306b4ba973ff784bab6584557872b84cea2 Mon Sep 17 00:00:00 2001 From: Brooke Date: Sun, 6 Apr 2025 17:43:10 +0000 Subject: [PATCH 5/6] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c972d33..301a02a 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,11 @@ SMTP is required for setup, supply that secret first * `abra app run app mobilizon_ctl users.new "" --admin --password ""` +## Create standard user account + +* `abra app run app mobilizon_ctl users.new "" --password ""` + + After logging in with these credentials the user will be prompted to set a nick and uri (ie. something like `username@mobilizon.example.com`). For more, see [`docs.mobilizon.org`](https://docs.mobilizon.org). -- 2.49.0 From fb41beba7a4929961926fd18c6253126301f4fcd Mon Sep 17 00:00:00 2001 From: Brooke Date: Wed, 15 Oct 2025 00:12:19 +0000 Subject: [PATCH 6/6] Update README.md --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 301a02a..91676a7 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,7 @@ SMTP is required for setup, supply that secret first ## Create your first admin account -* `abra app run app mobilizon_ctl users.new "" --admin --password ""` - -## Create standard user account - -* `abra app run app mobilizon_ctl users.new "" --password ""` - +* `abra app cmd create_admin ` After logging in with these credentials the user will be prompted to set a nick and uri (ie. something like `username@mobilizon.example.com`). -- 2.49.0