container-server/services/vaultwarden/docker-compose.yml
Renovate Bot 1cae697520 chore(deps): update postgres docker tag to v16 (#11)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| postgres | major | `15-alpine` -> `16-alpine` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMTguMCIsInVwZGF0ZWRJblZlciI6IjM3LjExOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: carsten/container-server#11
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-01-03 18:56:26 +01:00

53 lines
1.4 KiB
YAML

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:
image: ghcr.io/dani-garcia/vaultwarden:1.30.1-alpine
container_name: vaultwarden
restart: "${RESTART:-no}"
hostname: vaultwarden
domainname: ${BASE_DOMAIN}
environment:
- DOMAIN=https://passwords.${BASE_DOMAIN}
- TZ=${TIMEZONE}
- 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
- 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