14 Commits

Author SHA1 Message Date
8b1aa49240 Update to Karrot v17.1.0
All checks were successful
continuous-integration/drone/tag Build is passing
2025-12-24 22:42:57 +00:00
047d27a969 Update to karrot v17.0.0
All checks were successful
continuous-integration/drone/tag Build is passing
2025-12-21 00:27:19 +00:00
81dd82ba86 Upgrade to Karrot v16.2.0
All checks were successful
continuous-integration/drone/tag Build is passing
2025-04-10 00:01:54 +01:00
ec767e3eea Update to Karrot v16.1.0
All checks were successful
continuous-integration/drone/tag Build is passing
2025-04-01 23:21:21 +01:00
5b3506ff19 Fix healthcheck URL
All checks were successful
continuous-integration/drone/tag Build is passing
2025-01-30 19:05:44 +00:00
909eab8458 Update to karrot v16.0.0
All checks were successful
continuous-integration/drone/tag Build is passing
2025-01-30 18:44:11 +00:00
b60feecd68 Update .drone.yml 2025-01-08 10:09:13 -08:00
3ad265ce56 Update to karrot v15.2.0
All checks were successful
continuous-integration/drone/tag Build is passing
- includes plugins
2024-06-24 23:45:55 +01:00
798e4ea45d Update to karrot v15.1.1
All checks were successful
continuous-integration/drone/tag Build is passing
2024-05-23 11:01:52 +01:00
5b91dbe2c7 Update to karrot v15.0.0
All checks were successful
continuous-integration/drone/tag Build is passing
2024-05-22 15:41:05 +01:00
ece4d2e428 Update to karrot v14.1.0
All checks were successful
continuous-integration/drone/tag Build is passing
2024-04-04 23:53:03 +01:00
7e028c6c34 Update release doc to fix --user arg position 2024-04-01 20:21:13 +01:00
7964281022 Update readme to show backups are configured 2024-03-29 17:13:26 +00:00
1839764a33 Update readme 2024-03-29 16:30:08 +00:00
5 changed files with 27 additions and 15 deletions

View File

@ -10,7 +10,7 @@ steps:
from_secret: drone_abra-bot_token
fork: true
repositories:
- coop-cloud/auto-recipes-catalogue-json
- toolshed/auto-recipes-catalogue-json
trigger:
event: tag

View File

@ -6,9 +6,9 @@ Karrot is a free and open-source tool for grassroots initiatives and groups of p
* **Category**: Utilities
* **Status**: 3, stable
* **Image**: [`karrot-backend`](https://hub.docker.com/r/vlafvlaf/karrot_backend),4,upstream
* **Image**: [`karrot-frontend`](https://codeberg.org/karrot/-/packages/container/karrot-backend)/[`karrot-frontend`](https://codeberg.org/karrot/-/packages/container/karrot-backend),4,upstream
* **Healthcheck**: Yes
* **Backups**: No
* **Backups**: Yes
* **Email**: Yes
* **Tests**: No
* **SSO**: No
@ -22,6 +22,8 @@ Karrot is a free and open-source tool for grassroots initiatives and groups of p
3. `abra app config <karrot app name>`
4. `abra app deploy <karrot app name>`
See [Karrot Self-hosting docs](https://docs.karrot.world/self-host/coop-cloud/getting-started) for more information.
## Configuration options
`MAXMIND_ACCOUNT_ID` and `MAXMIND_ACCOUNT_KEY` are API credentials from maxmind.com. You need an account there to get GeoIP data for Karrot.

13
abra.sh
View File

@ -4,13 +4,14 @@ fix-permissions() {
echo "Try adding '--user root'"
exit 1
fi
if [ ! -d /app/uploads ]; then
echo "error: no uploads dir!"
echo "Make sure to run it on the 'app' service"
exit 1
fi
echo "Fixing upload permissions"
echo "Fixing permissions"
echo "Making karrot the owner of uploads"
chown -R karrot:karrot /app/uploads
echo "Making karrot the owner of plugins"
chown -R karrot:karrot /app/plugins
echo "Done"
}

View File

@ -2,7 +2,7 @@ version: "3.8"
services:
web:
image: "codeberg.org/karrot/karrot-frontend:v14.0.1"
image: "codeberg.org/karrot/karrot-frontend:v17.1.0"
depends_on:
- app
environment:
@ -35,7 +35,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
app:
image: "codeberg.org/karrot/karrot-backend:v14.0.1"
image: "codeberg.org/karrot/karrot-backend:v17.1.0"
networks:
- internal
depends_on:
@ -49,7 +49,9 @@ services:
- livekit_api_secret
volumes:
- "app_data:/app/uploads/"
- "plugins_data:/app/plugins/"
environment:
- ADMIN_EMAILS
- CSRF_TRUSTED_ORIGINS
- DATABASE_CONN_MAX_AGE
- DATABASE_HOST=db
@ -72,6 +74,7 @@ services:
- POSTAL_API_URL
- POSTAL_WEBHOOK_KEY
- PROXY_DISCOURSE_URL
- PLUGIN_DIR=/app/plugins/
- REDIS_DB=0
- REDIS_HOST=redis
- REDIS_PORT=6379
@ -94,19 +97,19 @@ services:
- MIGRATE=yes
command: server
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/config/"]
test: ["CMD", "curl", "-f", "http://localhost:8000/api/settings/"]
interval: 10s
timeout: 3s
retries: 3
start_period: 45s
deploy:
labels:
- "coop-cloud.${STACK_NAME}.version=1.0.0+14.0.1"
- "coop-cloud.${STACK_NAME}.version=3.1.0+17.1.0"
- "backupbot.backup=true"
- "backupbot.backup.path=/app/uploads"
worker:
image: "codeberg.org/karrot/karrot-backend:v14.0.1"
image: "codeberg.org/karrot/karrot-backend:v17.1.0"
depends_on:
- app
networks:
@ -117,7 +120,11 @@ services:
- smtp_password
- vapid_private_key
- livekit_api_secret
volumes:
- "app_data:/app/uploads/"
- "plugins_data:/app/plugins/"
environment:
- ADMIN_EMAILS
- DATABASE_CONN_MAX_AGE
- DATABASE_HOST=db
- DATABASE_NAME=karrot
@ -133,6 +140,7 @@ services:
- POSTAL_API_KEY
- POSTAL_API_URL
- POSTAL_WEBHOOK_KEY
- PLUGIN_DIR=/app/plugins/
- REDIS_DB=0
- REDIS_HOST=redis
- REDIS_PORT=6379
@ -210,6 +218,7 @@ secrets:
volumes:
app_data:
plugins_data:
postgres_data:
redis_data:

View File

@ -9,7 +9,7 @@ We now run the container as non-root user which means the file permissions need
After you deployment you can fix that by running:
```
abra app cmd <domain> app fix-permissions --user root
abra app cmd --user root <domain> app fix-permissions
```
(Note: we need `--user root` there, as we need to be `root` in the container to change the permissions)