Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
4a017306b4 | |||
7b56ff10c9 | |||
f8f874a5c1 | |||
dbdd9e53f1 | |||
8378235526 |
38
README.md
Normal file
38
README.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# mobilizon
|
||||||
|
|
||||||
|
> A tool that helps you find, create and organize events utilizing ActivityPub!
|
||||||
|
|
||||||
|
<!-- metadata -->
|
||||||
|
|
||||||
|
* **Category**: Apps
|
||||||
|
* **Status**: 2
|
||||||
|
* **Image**: [`mobilizon`](https://hub.docker.com/r/framasoft/mobilizon), 4, upstream
|
||||||
|
* **Healthcheck**: Yes
|
||||||
|
* **Backups**: No
|
||||||
|
* **Email**: Yes
|
||||||
|
* **Tests**: No
|
||||||
|
* **SSO**: No
|
||||||
|
|
||||||
|
<!-- endmetadata -->
|
||||||
|
|
||||||
|
## Quick start
|
||||||
|
|
||||||
|
SMTP is required for setup, supply that secret first
|
||||||
|
* `abra app new mobilizon`
|
||||||
|
* `abra app secret i <app_domain> smtp_password v1 <smtp_pass>`
|
||||||
|
* `abra app secret g --all <app_domain> `
|
||||||
|
* `abra app config <app-name>`
|
||||||
|
* `abra app deploy <app-name>`
|
||||||
|
|
||||||
|
## Create your first admin account
|
||||||
|
|
||||||
|
* `abra app run <app_domain> app mobilizon_ctl users.new "<admin-email>" --admin --password "<admin-pass>"`
|
||||||
|
|
||||||
|
## Create standard user account
|
||||||
|
|
||||||
|
* `abra app run <app_domain> app mobilizon_ctl users.new "<admin-email>" --password "<admin-pass>"`
|
||||||
|
|
||||||
|
|
||||||
|
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).
|
28
compose.yml
28
compose.yml
@ -3,10 +3,10 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: framasoft/mobilizon:4.1.0
|
image: framasoft/mobilizon:5.1.2
|
||||||
environment:
|
environment:
|
||||||
- MOBILIZON_INSTANCE_NAME
|
- MOBILIZON_INSTANCE_NAME
|
||||||
- MOBILIZON_INSTANCE_HOST=https://$DOMAIN
|
- MOBILIZON_INSTANCE_HOST=$DOMAIN
|
||||||
- MOBILIZON_INSTANCE_LISTEN_IP
|
- MOBILIZON_INSTANCE_LISTEN_IP
|
||||||
- MOBILIZON_INSTANCE_PORT
|
- MOBILIZON_INSTANCE_PORT
|
||||||
- MOBILIZON_INSTANCE_EMAIL
|
- MOBILIZON_INSTANCE_EMAIL
|
||||||
@ -34,9 +34,7 @@ services:
|
|||||||
- db_password
|
- db_password
|
||||||
volumes:
|
volumes:
|
||||||
- "uploads:/var/lib/mobilizon/uploads"
|
- "uploads:/var/lib/mobilizon/uploads"
|
||||||
# - ${PWD}/config.exs:/etc/mobilizon/config.exs:ro
|
|
||||||
entrypoint: /custom-entrypoint.sh
|
entrypoint: /custom-entrypoint.sh
|
||||||
# entrypoint: ["/bin/sh", "-c", "sleep 10000000000000000"]
|
|
||||||
configs:
|
configs:
|
||||||
- source: app_entrypoint
|
- source: app_entrypoint
|
||||||
target: /custom-entrypoint.sh
|
target: /custom-entrypoint.sh
|
||||||
@ -53,17 +51,12 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.1.1+4.1.0"
|
- "coop-cloud.${STACK_NAME}.version=0.2.1+5.1.2"
|
||||||
## Redirect from EXTRA_DOMAINS to DOMAIN
|
healthcheck:
|
||||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
test: ["CMD", "curl", "-s", "http://localhost:4000"]
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
interval: 30s
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
timeout: 5s
|
||||||
# healthcheck:
|
retries: 3
|
||||||
# test: ["CMD", "curl", "-f", "http://localhost"]
|
|
||||||
# interval: 30s
|
|
||||||
# timeout: 10s
|
|
||||||
# retries: 10
|
|
||||||
# start_period: 1m
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
deploy:
|
deploy:
|
||||||
@ -82,6 +75,11 @@ services:
|
|||||||
POSTGRES_DB: mobilizon
|
POSTGRES_DB: mobilizon
|
||||||
POSTGRES_USER: mobilizon
|
POSTGRES_USER: mobilizon
|
||||||
POSTGRES_PASSWORD_FILE: /run/secrets/db_password
|
POSTGRES_PASSWORD_FILE: /run/secrets/db_password
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
uploads:
|
uploads:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user