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.30.2 (#17) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/dani-garcia/vaultwarden](https://github.com/dani-garcia/vaultwarden) | patch | `1.30.1-alpine` -> `1.30.2-alpine` | --- ### Release Notes <details> <summary>dani-garcia/vaultwarden (ghcr.io/dani-garcia/vaultwarden)</summary> ### [`v1.30.2`](https://github.com/dani-garcia/vaultwarden/releases/tag/1.30.2) [Compare Source](https://github.com/dani-garcia/vaultwarden/compare/1.30.1...1.30.2) ⚠️ **Note:** The WebSockets service for live sync has been integrated in the main HTTP server, which means simpler proxy setups that don't require a separate rule to redirect WS traffic to port 3012. Please check the updated examples in the [wiki](https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples). It's recommended to migrate to this new setup as using the old server on port 3012 is deprecated, won't receive new features and will be removed in the next release. #### What's Changed - Prevent generating an error during ws close by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4127 - Update Rust, Crates, Profile and Actions by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4126 - Several small fixes for open issues by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4143 - Fix the version string by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4153 - Decrease JWT Refresh/Auth token by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4163 - Update crates by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4173 - Add additional build target which optimizes for size by [@&#8203;gladiac](https://github.com/gladiac) in https://github.com/dani-garcia/vaultwarden/pull/4096 - Update web-vault to v2023.12.0 by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4201 - Update Rust and Crates by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4211 - Fix Single Org Policy check by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4207 - Allow customizing the featureStates by [@&#8203;PKizzle](https://github.com/PKizzle) in https://github.com/dani-garcia/vaultwarden/pull/4168 - Fix [#&#8203;3413](https://github.com/dani-garcia/vaultwarden/issues/3413): push to users accessing the collections using groups by [@&#8203;matlink](https://github.com/matlink) in https://github.com/dani-garcia/vaultwarden/pull/3757 - US or EU Data Region Selection by [@&#8203;toto-xoxo](https://github.com/toto-xoxo) in https://github.com/dani-garcia/vaultwarden/pull/3752 - enforce 2FA policy on removal of second factor and login by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/3803 - improve emergency access when not enabled by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4227 - Update crates and fix icon issue by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4237 - Bump h2 from 0.3.23 to 0.3.24 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/dani-garcia/vaultwarden/pull/4260 - Fix bulk collection deletion by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4257 - fix: use black text for update badge (better contrast) by [@&#8203;tessus](https://github.com/tessus) in https://github.com/dani-garcia/vaultwarden/pull/4245 - prevent side effects if groups are disabled by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4265 - Update crates, web-vault to 2024.1.2 and GHA by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4275 - Return 404 when user public_key is empty by [@&#8203;Timshel](https://github.com/Timshel) in https://github.com/dani-garcia/vaultwarden/pull/4271 - Improve file limit handling by [@&#8203;dani-garcia](https://github.com/dani-garcia) in https://github.com/dani-garcia/vaultwarden/pull/4242 - Fix attachment upload size check by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4282 - err on invalid feature flag by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/4263 - register missing push devices at login by [@&#8203;stefan0xC](https://github.com/stefan0xC) in https://github.com/dani-garcia/vaultwarden/pull/3792 - Update env template file by [@&#8203;gzfrozen](https://github.com/gzfrozen) in https://github.com/dani-garcia/vaultwarden/pull/4276 #### New Contributors - [@&#8203;gladiac](https://github.com/gladiac) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4096 - [@&#8203;PKizzle](https://github.com/PKizzle) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4168 - [@&#8203;matlink](https://github.com/matlink) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/3757 - [@&#8203;toto-xoxo](https://github.com/toto-xoxo) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/3752 - [@&#8203;Timshel](https://github.com/Timshel) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4271 - [@&#8203;gzfrozen](https://github.com/gzfrozen) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4276 **Full Changelog**: https://github.com/dani-garcia/vaultwarden/compare/1.30.1...1.30.2 </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Reviewed-on: https://git.csprung.de/carsten/container-server/pulls/17 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-01-31 20:09:00 +01:00
image: ghcr.io/dani-garcia/vaultwarden:1.30.2-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