container-server/services/vaultwarden/docker-compose.yml

54 lines
1.4 KiB
YAML
Raw Normal View History

version: '3.7'
# https://hub.docker.com/r/vaultwarden/server
# https://github.com/dani-garcia/vaultwarden/pkgs/container/vaultwarden
# https://github.com/dani-garcia/vaultwarden
networks:
vaultwarden:
services:
vaultwarden:
chore(deps): update ghcr.io/dani-garcia/vaultwarden docker tag to v1.31.0 (#54) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/dani-garcia/vaultwarden](https://github.com/dani-garcia/vaultwarden) | minor | `1.30.5-alpine` -> `1.31.0-alpine` | --- ### Release Notes <details> <summary>dani-garcia/vaultwarden (ghcr.io/dani-garcia/vaultwarden)</summary> ### [`v1.31.0`](https://github.com/dani-garcia/vaultwarden/releases/tag/1.31.0) [Compare Source](https://github.com/dani-garcia/vaultwarden/compare/1.30.5...1.31.0) #### Major changes and New Features - Initial support for the beta releases of the new native mobile apps - Removed support for WebSocket traffic on port 3012, as it's been integrated on the main HTTP port for a few releases - Updated included web vault to 2024.5.1 #### What's Changed - chore: remove repetitive words by [@&#8203;one230six](https://github.com/one230six) in https://github.com/dani-garcia/vaultwarden/pull/4422 - Fix comment in events.rs by [@&#8203;KrappRamiro](https://github.com/KrappRamiro) in https://github.com/dani-garcia/vaultwarden/pull/4408 - Improve JWT RSA key initialization and avoid saving public key by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4085 - Remove custom WebSocket code by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4001 - refactor: replace panic with a graceful exit by [@&#8203;tessus](https://github.com/tessus) in https://github.com/dani-garcia/vaultwarden/pull/4402 - Small improvements around email change by [@&#8203;Timshel](https://github.com/Timshel) in https://github.com/dani-garcia/vaultwarden/pull/4415 - Change timestamp data type. by [@&#8203;gzfrozen](https://github.com/gzfrozen) in https://github.com/dani-garcia/vaultwarden/pull/4355 - Fix [#&#8203;3624](https://github.com/dani-garcia/vaultwarden/issues/3624): fix manager permission within groups by [@&#8203;matlink](https://github.com/matlink) in https://github.com/dani-garcia/vaultwarden/pull/3754 - automatically use email address as 2fa provider by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4317 - fix: typos by [@&#8203;testwill](https://github.com/testwill) in https://github.com/dani-garcia/vaultwarden/pull/4440 - Update chrono and sqlite by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4436 - Update Rust and crates by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4445 - Use async verify for Yubikey by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4448 - update web-vault to v2024.3.1 (new vertical layout) by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4468 - Update crates and some Clippy fixes by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4475 - Update Key Rotation web-vault v2024.3.x by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4446 - Update Crate and Rust by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4522 - Implement custom DNS resolver by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/3988 - Add extra (unsupported) container build arch's by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4524 - Pass in collection ids to notifier when sharing cipher. by [@&#8203;kristof-mattei](https://github.com/kristof-mattei) in https://github.com/dani-garcia/vaultwarden/pull/4517 - improve access to collections via groups by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4441 - fix emergency access invites by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4337 - Some fixes for the new mobile apps by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4526 - Update Rust, crates and web-vault by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4558 - Improve Commentary Aesthetics by [@&#8203;rich-purnell](https://github.com/rich-purnell) in https://github.com/dani-garcia/vaultwarden/pull/4549 - Optimize Dockerfiles by [@&#8203;dfunkt](https://github.com/dfunkt) in https://github.com/dani-garcia/vaultwarden/pull/4532 - also delete organization_api_key when deleting organizations by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4557 - Fix public api for domains with path prefix by [@&#8203;FDHoho007](https://github.com/FDHoho007) in https://github.com/dani-garcia/vaultwarden/pull/4500 - Update crates by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4587 - Fix web-vault version in Docker(files/Settings) by [@&#8203;dfunkt](https://github.com/dfunkt) in https://github.com/dani-garcia/vaultwarden/pull/4575 - Update Alpine to version 3.20 by [@&#8203;dfunkt](https://github.com/dfunkt) in https://github.com/dani-garcia/vaultwarden/pull/4583 - differentiate external groups by organization id by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4586 - Remove old knowndevice route by [@&#8203;Timshel](https://github.com/Timshel) in https://github.com/dani-garcia/vaultwarden/pull/4578 - Update admin interface dependencies by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4581 - Update rust and remove unused header values by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4645 - Update crates, web-vault and GHA by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4648 - Fix some nightly build errors by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4657 - Fix some more nightly errors and remove lint that will become an error by default by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4661 - Change API and structs to camelCase by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4386 - Fix cipher creation on new android app by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4670 - Remove mimalloc workaround by [@&#8203;dfunkt](https://github.com/dfunkt) in https://github.com/dani-garcia/vaultwarden/pull/4606 - Change some missing PascalCase keys by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4671 - Fix collections and native app issue by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4685 - Fix duplicate folder creations during import by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4702 - Remove duplicate registry step by [@&#8203;dfunkt](https://github.com/dfunkt) in https://github.com/dani-garcia/vaultwarden/pull/4703 - add group support for Cipher::get_collections() by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4592 - Switch registry cache compression algorithm to zstd by [@&#8203;dfunkt](https://github.com/dfunkt) in https://github.com/dani-garcia/vaultwarden/pull/4704 - Update crates and web-vault by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4714 - Some fixes for emergency access by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4715 #### New Contributors - [@&#8203;one230six](https://github.com/one230six) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4422 - [@&#8203;KrappRamiro](https://github.com/KrappRamiro) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4408 - [@&#8203;testwill](https://github.com/testwill) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4440 - [@&#8203;kristof-mattei](https://github.com/kristof-mattei) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4517 - [@&#8203;rich-purnell](https://github.com/rich-purnell) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4549 - [@&#8203;dfunkt](https://github.com/dfunkt) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4532 - [@&#8203;FDHoho007](https://github.com/FDHoho007) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4500 **Full Changelog**: https://github.com/dani-garcia/vaultwarden/compare/1.30.5...1.31.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.csprung.de/csp/container-server/pulls/54 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-07-09 15:21:44 +02:00
image: ghcr.io/dani-garcia/vaultwarden:1.31.0-alpine
container_name: vaultwarden
restart: "${RESTART:-no}"
hostname: vaultwarden
domainname: ${BASE_DOMAIN}
environment:
- DOMAIN=https://passwords.${BASE_DOMAIN}
- TZ=${TIMEZONE}
2023-09-19 23:32:46 +02:00
- DATABASE_URL=postgres://vaultwarden:${VAULTWARDEN_PG_PWD:-vaultwarden}@pg-vaultwarden:5432/vaultwarden
- SMTP_HOST=mail
- SMTP_FROM=vaultwarden@${BASE_DOMAIN}
- SMTP_PORT=25
- SMTP_SECURITY=off
- ADMIN_TOKEN=${VAULTWARDEN_ADMIN_TOKEN}
- SIGNUPS_ALLOWED=false
- INVITATIONS_ALLOWED=false
- SHOW_PASSWORD_HINT=false
2023-09-19 23:32:46 +02:00
- LOG_FILE=/data/logs/vaultwarden.log
volumes:
- ${BASE_DIR:-/srv}/vaultwarden/data:/data
depends_on:
- pg-vaultwarden
networks:
- proxy
- mail
- vaultwarden
pg-vaultwarden:
image: postgres:16-alpine
container_name: pg-vaultwarden
restart: "${RESTART:-no}"
environment:
- POSTGRES_DB=vaultwarden
- POSTGRES_USER=vaultwarden
- POSTGRES_PASSWORD=${VAULTWARDEN_PG_PWD:-vaultwarden}
volumes:
- ${BASE_DIR:-/srv}/vaultwarden/psql:/var/lib/postgresql/data
networks:
- vaultwarden