Skip to content

Commit

Permalink
Add dynamic compose for wekan (#6105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancelot-Enguerrand authored Dec 23, 2024
1 parent d831566 commit ef74735
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/wekan/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"port": 8678,
"available": true,
"exposable": true,
"dynamic_config": true,
"id": "wekan",
"tipi_version": 42,
"tipi_version": 43,
"version": "7.72",
"categories": ["development"],
"description": "Experience efficient task management with WeKan - the Open-Source, customizable, and privacy-focused kanban",
Expand All @@ -30,5 +31,5 @@
],
"supported_architectures": ["amd64"],
"created_at": 1691943801422,
"updated_at": 1733634425000
"updated_at": 1734908810846
}
48 changes: 48 additions & 0 deletions apps/wekan/docker-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"services": [
{
"name": "wekan",
"image": "ghcr.io/wekan/wekan:v7.72",
"isMain": true,
"internalPort": 8080,
"environment": {
"MONGO_URL": "mongodb://wekan-db:27017/wekan",
"ROOT_URL": "https://${APP_DOMAIN}",
"MAIL_URL": "smtp://${MAIL_ADDRESS}:${MAIL_PASSWORD}@smtp.gmail.com:587",
"MAIL_FROM": "Wekan Notifications <noreply.wekan@${APP_DOMAIN}>"
},
"dependsOn": ["wekan-db"],
"volumes": [
{
"hostPath": "/etc/localtime",
"containerPath": "/etc/localtime",
"readOnly": true
},
{
"hostPath": "${APP_DATA_DIR}/data/wekan",
"containerPath": "/data"
}
]
},
{
"name": "wekan-db",
"image": "mongo:6",
"volumes": [
{
"hostPath": "/etc/localtime",
"containerPath": "/etc/localtime",
"readOnly": true
},
{
"hostPath": "${APP_DATA_DIR}/data/mongo",
"containerPath": "/data/db"
},
{
"hostPath": "${APP_DATA_DIR}/data/dump",
"containerPath": "/dump"
}
],
"command": "mongod --logpath /dev/null --oplogSize 128 --quiet"
}
]
}

0 comments on commit ef74735

Please sign in to comment.