mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-01-12 12:37:59 -05:00
Can docker compose set the number of processes for vaultwarden to start postgresql #104
Closed
opened 2025-07-08 08:40:04 -04:00 by AtHeartEngineer
·
0 comments
No Branch/Tag Specified
main
cached-config-operations
test_dylint
1.35.2
1.35.1
1.35.0
1.34.3
1.34.2
1.34.1
1.34.0
1.33.2
1.33.1
1.33.0
1.32.7
1.32.6
1.32.5
1.32.4
1.32.3
1.32.2
1.32.1
1.32.0
1.31.0
1.30.5
1.30.4
1.30.3
1.30.2
1.30.1
1.30.0
1.29.2
1.29.1
1.29.0
1.28.1
1.28.0
1.27.0
1.26.0
1.25.2
1.25.1
1.25.0
1.24.0
1.23.1
1.23.0
1.22.2
1.22.1
1.22.0
1.21.0
1.20.0
1.19.0
1.18.0
1.17.0
1.16.3
1.16.2
1.16.1
1.16.0
1.15.1
1.15.0
1.14.2
1.14.1
1.14
1.13.1
1.13.0
1.12.0
1.11.0
1.10.0
1.9.1
1.9.0
1.8.0
1.7.0
1.6.1
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
Labels
Clear labels
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
enhancement
enhancement
enhancement
enhancement
low priority
low priority
low priority
question
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
AtHeartEngineer
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github/vaultwarden#104
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cbingos on 4/27/2025
Vaultwarden Support String
Can docker compose set the number of processes for vaultwarden to start postgresql?
The default seems to be 10.
dock-compose.yml
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: always
extra_hosts:
- "host.docker.internal:172.17.0.1" # ip a show docker ip
environment:
- TZ=Asia/Shanghai
- SIGNUPS_ALLOWED=true
- INVITATIONS_ALLOWED=false
- LOG_FILE:log/vaultwarden.log
- LOG_LEVEL=warn
- ADMIN_TOKEN=Vaultrs2125@
- SHOW_PASSWORD_HINT=false
- WEBSOCKET_ENABLED=true
- DOMAIN=https://abc.posgrsql.com/abc/
- DATABASE_URL=postgresql://postgres:postgresql@172.17.0.1:5432/vaultrs
volumes:
- ./data/:/data/
ports:
- 127.0.0.1:22222:80
- 127.0.0.1:3012:3012
bash
sudo ps aux | grep postgres
postgres 4163392 0.0 1.5 225400 15476 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(59764) idle
postgres 4163393 0.0 1.5 225400 15476 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(59778) idle
postgres 4163394 0.0 1.5 225404 15476 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(59794) idle
postgres 4163395 0.0 1.5 225404 15472 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(59808) idle
postgres 4163396 0.0 1.5 225404 15468 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(59824) idle
postgres 4163397 0.0 1.5 225404 15472 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(59826) idle
postgres 4163398 0.0 1.5 225404 15476 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(59840) idle
postgres 4163399 0.0 1.5 225404 15468 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(57716) idle
postgres 4163400 0.0 1.5 225400 15476 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(57724) idle
postgres 4163401 0.0 1.7 225528 17532 ? Ss 15:10 0:00 postgres: 15/main: postgres vaultrs 172.19.0.2(57726) idle
Vaultwarden Build Version
latest
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
nginx
Host/Server Operating System
Linux
Operating System Version
debian
Clients
Web Vault
Client Version
No response
Steps To Reproduce
Expected Result
Customize the number of connections of postgresql
Actual Result
Customize the number of connections of postgresql
Logs
Screenshots or Videos
No response
Additional Context
No response