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.5 (#25) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/dani-garcia/vaultwarden](https://github.com/dani-garcia/vaultwarden) | patch | `1.30.3-alpine` -> `1.30.5-alpine` | --- ### Release Notes <details> <summary>dani-garcia/vaultwarden (ghcr.io/dani-garcia/vaultwarden)</summary> ### [`v1.30.5`](https://github.com/dani-garcia/vaultwarden/releases/tag/1.30.5) [Compare Source](https://github.com/dani-garcia/vaultwarden/compare/1.30.4...1.30.5) #### What's Changed - fix: web API call for jquery 3.7.1 by [@&#8203;calvin-li-developer](https://github.com/calvin-li-developer) in https://github.com/dani-garcia/vaultwarden/pull/4400 #### New Contributors - [@&#8203;calvin-li-developer](https://github.com/calvin-li-developer) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4400 **Full Changelog**: https://github.com/dani-garcia/vaultwarden/compare/1.30.4...1.30.5 ### [`v1.30.4`](https://github.com/dani-garcia/vaultwarden/releases/tag/1.30.4) [Compare Source](https://github.com/dani-garcia/vaultwarden/compare/1.30.3...1.30.4) ⚠️ 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 - Update crates to fix new builds by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4308 - Add Kubernetes environment detection by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4290 - Update GHA Workflows by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4309 - Update Rust, crates and web-vault by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4328 - Change the codegen-units for low resources by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4336 - Fix env templateto ensure compatibility with systemd's EnvironmentFile parsing by [@&#8203;seiuneko](https://github.com/seiuneko) in https://github.com/dani-garcia/vaultwarden/pull/4315 - Update crates, GHA and a Python script by [@&#8203;BlackDex](https://github.com/BlackDex) in https://github.com/dani-garcia/vaultwarden/pull/4357 #### New Contributors - [@&#8203;seiuneko](https://github.com/seiuneko) made their first contribution in https://github.com/dani-garcia/vaultwarden/pull/4315 **Full Changelog**: https://github.com/dani-garcia/vaultwarden/compare/1.30.3...1.30.4 </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjQuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyNC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Reviewed-on: https://git.csprung.de/carsten/container-server/pulls/25 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-03-05 19:05:48 +01:00
image: ghcr.io/dani-garcia/vaultwarden:1.30.5-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