15 Commits

Author SHA1 Message Date
b8609fd2aa disable default TIMEOUT, see toolshed/abra#596 (comment)
Some checks reported errors
continuous-integration/drone/push Build was killed
2025-11-26 18:01:18 +01:00
a6ea4f0b41 chore: publish 3.4.0+v7.97 release
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2025-10-10 12:31:46 +02:00
4729fb7824 chore: publish 3.3.0+v7.91 release
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2025-06-10 14:50:29 +02:00
eb951f1a1c chore: publish 3.2.0+v7.80 release
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2025-02-04 23:43:44 +01:00
70331d393f remove stacksize and change main.js path for next release 2025-02-04 23:37:35 +01:00
2286535613 Update .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
2025-01-08 10:09:13 -08:00
2bd0920564 chore: publish 3.1.0+v7.61 release
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2024-10-29 17:07:55 +01:00
66e3194385 update backupbot label
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-24 15:44:19 +02:00
078fb53d4e chore: publish 3.0.0+v7.50 release
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-09 15:18:43 +02:00
1d9317c231 update database 2024-07-09 15:11:34 +02:00
94cc1db80c chore: publish 2.2.0+v7.50 release
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-06 00:46:32 +02:00
17b1b99c9f add writable path for database dumps 2024-07-05 19:46:28 +02:00
b167073868 add performonace optimization
https://github.com/wekan/wekan/issues/3585#issuecomment-1021522132
2024-07-05 19:45:42 +02:00
523aefdb4a add writable path for attachments/avatars 2024-07-05 19:39:47 +02:00
4b71066eda add wekan branding
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-15 14:20:21 +02:00
6 changed files with 60 additions and 13 deletions

View File

@ -18,7 +18,7 @@ steps:
STACK_NAME: wekan
LETS_ENCRYPT_ENV: production
SECRET_OAUTH2_SECRET_VERSION: v1
ENTRYPOINT_VERSION: v1
ENTRYPOINT_VERSION: v2
SECRET_OAUTH2_SECRET_VERSION: v1
trigger:
branch:
@ -35,7 +35,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

@ -1,6 +1,7 @@
TYPE=wekan
TIMEOUT=300
#TIMEOUT=
ENABLE_AUTO_UPDATE=true
ENABLE_BACKUPS=true
LETS_ENCRYPT_ENV=production
SECRET_OAUTH2_SECRET_VERSION=v1
@ -26,6 +27,9 @@ RICHER_CARD_COMMENT_EDITOR=false
# PASSWORD_LOGIN_ENABLED=false
# LOGO_IMG_URL=https://authentik.example.com/static/dist/assets/icons/icon_left_brand.svg
# LOGO_LINK_URL=https://authentik.example.com
### OAUTH2 ###
OAUTH2_ENABLED=false

26
abra.sh
View File

@ -1 +1,25 @@
export ENTRYPOINT_VERSION=v2
export ENTRYPOINT_VERSION=v4
set_settings(){
mongosh wekan --eval '
db.settings.updateOne(
{},
{
$set: {
"disableForgotPassword": true,
"displayAuthenticationMethod" : false,
"disableRegistration" : true,
"customTopLeftCornerLogoImageUrl": "'$LOGO_IMG_URL'",
"customTopLeftCornerLogoLinkUrl": "'$LOGO_LINK_URL'",
}
}
)'
}
show_mongo_version (){
mongosh --eval 'db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )'
}
update_mongo_version (){
mongosh --eval 'db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } )'
}

View File

@ -1,29 +1,33 @@
version: '3.8'
services:
db:
image: mongo:5.0
image: mongo:6.0
environment:
- LOGO_IMG_URL
- LOGO_LINK_URL
command: mongod --oplogSize 128 --quiet
volumes:
- wekan-db:/data/db
networks:
- internal
healthcheck:
test: echo 'db.runCommand("ping").ok' | mongo localhost:27017/test --quiet
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
interval: 30s
timeout: 10s
retries: 10
start_period: 1m
deploy:
labels:
backupbot.backup: "true"
backupbot.backup: "${ENABLE_BACKUPS:-true}"
backupbot.backup.pre-hook: "mongodump --archive=/data/db/wekan.db"
backupbot.backup.post-hook: "rm -rf /data/db/wekan.db"
backupbot.backup.path: "/data/db/wekan.db"
backupbot.backup.volumes.wekan-db.path: "wekan.db"
backupbot.restore.post-hook: 'mongorestore --drop --archive=/data/db/wekan.db'
app:
image: quay.io/wekan/wekan:v7.30
image: quay.io/wekan/wekan:v7.97
environment:
- MONGO_URL=mongodb://db:27017/wekan
- NODE_OPTIONS="--max_old_space_size=4096"
- DOMAIN
- ROOT_URL
- DEBUG
@ -51,6 +55,9 @@ services:
- DEFAULT_AUTHENTICATION_METHOD
- PROPAGATE_OIDC_DATA
- OIDC_REDIRECTION_ENABLED
- WRITABLE_PATH=/data
volumes:
- wekan-files:/data:rw
networks:
- internal
- proxy
@ -83,11 +90,12 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=2.1.1+v7.30"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "coop-cloud.${STACK_NAME}.version=3.4.0+v7.97"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
volumes:
wekan-db:
wekan-files:
networks:
proxy:

View File

@ -25,4 +25,8 @@ file_env() {
}
file_env "OAUTH2_SECRET"
bash -c "ulimit -s 65500; exec node --stack-size=65500 /build/main.js"
# https://github.com/wekan/wekan/issues/3585#issuecomment-1021522132
#bash -c "ulimit -s 65500; exec node --stack-size=65500 /build/main.js"
# https://github.com/wekan/wekan/pull/5588
#bash -c "ulimit -n 65500; exec node /build/main.js"
bash -c "exec node /build/main.js"

7
release/3.0.0+v7.50 Normal file
View File

@ -0,0 +1,7 @@
Breaking Change: Update MongoDB from version 5.0 to 6.0.
========================================================
Before updating:
Run `abra app cmd <app_domaon> db show_mongo_version` to check if the featureCompatibilityVersion is above 5.0 !
Run `abra app cmd <app_domaon> db update_mongo_version` to set featureCompatibilityVersion to version 5.0