Aggiunto docker compose vaultwarden

This commit is contained in:
piccihud 2024-03-24 16:23:38 +01:00
parent afbfb02301
commit 54aca6f200
2 changed files with 58 additions and 6 deletions

View File

@ -78,12 +78,6 @@ share.chat.domain.com {
}
}
## Kuma
https://status.domain.com {
reverse_proxy localhost:3001
}
## Collabora
https://code.domain.com {
@ -95,11 +89,29 @@ https://code.domain.com {
}
}
## Kuma
https://status.domain.com {
reverse_proxy localhost:3001
}
## ntfy
https://ntfy.domain.com {
reverse_proxy localhost:3002
}
## Vaultwarden
https://vault.dadocloud.ovh {
reverse_proxy localhost:3003
}
## Molly-socket
https://molly.dadocloud.ovh {
reverse_proxy / localhost:8020
}
```
## Gestione certificati TLS

View File

@ -106,6 +106,46 @@ services:
restart: unless-stopped
```
## Vaultwarden
```bash
version: '3'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: unless-stopped
ports:
- 3003:80 # Needed for the ACME HTTP-01 challenge.
- 3004:443
environment:
DOMAIN: "https://vault.domain.com" # Your domain; vaultwarden needs to know it's https to work properly with attachments
LOG_FILE: "/data/vaultwarden.log"
LOG_LEVEL: "warn"
EXTENDED_LOGGING: "true"
SHOW_PASSWORD_HINT: "false"
SIGNUPS_ALLOWED: "false"
# SENDS_ALLOWED: "true"
LOGIN_RATELIMIT_MAX_BURST: 10
LOGIN_RATELIMIT_SECONDS: 60
ADMIN_RATELIMIT_MAX_BURST: 10
ADMIN_RATELIMIT_SECONDS: 60
ADMIN_TOKEN: "YourReallyStrongAdminTokenHere"
EMERGENCY_ACCESS_ALLOWED: "true"
SIGNUPS_VERIFY: "false"
volumes:
- ./vw-data:/data
```
Come da wiki ([https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page](https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page)), la pagina Admin, e' accessibile al seguente indirizzo: [https://vault.domain.com/admin]. A questo punto, bisognera' inserire il token.
Per altre info:
- [https://github.com/dani-garcia/vaultwarden/wiki/Using-Docker-Compose](https://github.com/dani-garcia/vaultwarden/wiki/Using-Docker-Compose)
- [https://www.techaddressed.com/tutorials/vaultwarden-docker-compose/](https://www.techaddressed.com/tutorials/vaultwarden-docker-compose/)
- [https://www.howtoforge.com/how-to-install-vaultwarden-on-ubuntu-22-04/](https://www.howtoforge.com/how-to-install-vaultwarden-on-ubuntu-22-04/)
## Snikket
```bash