docker-compose.yml
· 1.0 KiB · YAML
Raw
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: unless-stopped
environment:
WEBSOCKET_ENABLED: true
ADMIN_TOKEN: your-admin-authentication-token ## Aggiungi 32 caratteri casuali, sia lettere che numeri.
DOMAIN: https://vault.emanuelegori.uno ## https://tuo_dominio
SIGNUPS_ALLOWED: false ## true se vuoi creare un utente senza invito
SMTP_HOST: ssl0.ovh.net ## smpt host OVH
SMTP_FROM: noreply@your-domain.com
SMTP_PORT: 465 ## smpt port OVH
SMTP_SECURITY: force_tls ## smtp security OVH
SMTP_USERNAME: username ## username
SMTP_PASSWORD: password ## password
volumes:
- ./data:/data
networks:
- npm-internal ## network creata con NPM
networks:
npm-internal:
name: npm-internal
external: true
| 1 | services: |
| 2 | vaultwarden: |
| 3 | image: vaultwarden/server:latest |
| 4 | container_name: vaultwarden |
| 5 | restart: unless-stopped |
| 6 | environment: |
| 7 | WEBSOCKET_ENABLED: true |
| 8 | ADMIN_TOKEN: your-admin-authentication-token ## Aggiungi 32 caratteri casuali, sia lettere che numeri. |
| 9 | DOMAIN: https://vault.emanuelegori.uno ## https://tuo_dominio |
| 10 | SIGNUPS_ALLOWED: false ## true se vuoi creare un utente senza invito |
| 11 | SMTP_HOST: ssl0.ovh.net ## smpt host OVH |
| 12 | SMTP_FROM: noreply@your-domain.com |
| 13 | SMTP_PORT: 465 ## smpt port OVH |
| 14 | SMTP_SECURITY: force_tls ## smtp security OVH |
| 15 | SMTP_USERNAME: username ## username |
| 16 | SMTP_PASSWORD: password ## password |
| 17 | volumes: |
| 18 | - ./data:/data |
| 19 | networks: |
| 20 | - npm-internal ## network creata con NPM |
| 21 | |
| 22 | networks: |
| 23 | npm-internal: |
| 24 | name: npm-internal |
| 25 | external: true |
| 26 |