Update docker-compose configuration and dependencies

- Changed service from expose to ports for MongoDB.
- Added user directive to run as root for file permissions.
- Updated ROOT_URL to use a specific IP address.
- Enabled DEBUG mode in environment variables.
- Updated @babel/runtime version in package.json and package-lock.json.
This commit is contained in:
omri zaher 2025-08-03 15:50:45 +03:00
parent 20f91ef893
commit e690b54bc6
3 changed files with 9 additions and 16 deletions

View file

@ -105,8 +105,8 @@ services:
command: mongod --logpath /dev/null --oplogSize 128 --quiet
networks:
- wekan-tier
expose:
- 27017
ports:
- "27017:27017"
volumes:
- /etc/localtime:/etc/localtime:ro
- wekan-db:/data/db
@ -140,6 +140,7 @@ services:
#security_opt:
# - seccomp:unconfined
restart: always
user: "0:0" # Run as root to fix file permissions
networks:
- wekan-tier
#-------------------------------------------------------------------------------------
@ -182,7 +183,7 @@ services:
# - http://example.com
# - http://boards.example.com
# - http://192.168.1.100 <=== using at local LAN
- ROOT_URL=http://localhost # <=== using only at same laptop/desktop where Wekan is installed
- ROOT_URL=http://10.0.0.17 # <=== using only at same laptop/desktop where Wekan is installed
#---------------------------------------------------------------
# ==== EMAIL SETTINGS ====
# Email settings are only at MAIL_URL and MAIL_FROM.
@ -373,7 +374,7 @@ services:
#- WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId
#-----------------------------------------------------------------
# ==== Debug OIDC OAuth2 etc ====
#- DEBUG=true
- DEBUG=true
#---------------------------------------------
# ==== AUTOLOGIN WITH OIDC/OAUTH2 ====
# https://github.com/wekan/wekan/wiki/autologin

14
package-lock.json generated
View file

@ -5,12 +5,9 @@
"requires": true,
"dependencies": {
"@babel/runtime": {
"version": "7.26.10",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.10.tgz",
"integrity": "sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==",
"requires": {
"regenerator-runtime": "^0.14.0"
}
"version": "7.28.2",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.2.tgz",
"integrity": "sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA=="
},
"@fast-csv/format": {
"version": "4.3.5",
@ -2587,11 +2584,6 @@
}
}
},
"regenerator-runtime": {
"version": "0.14.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
"integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
},
"rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",

View file

@ -17,7 +17,7 @@
"sinon": "^13.0.2"
},
"dependencies": {
"@babel/runtime": "^7.26.10",
"@babel/runtime": "^7.28.2",
"@mapbox/node-pre-gyp": "^1.0.10",
"@rwap/jquery-ui-touch-punch": "^1.0.11",
"@wekanteam/dragscroll": "https://github.com/wekan/dragscroll.git",