[mod] vault
This commit is contained in:
parent
0a96279ecc
commit
843e87dc1e
10
.vscode/extensions.json
vendored
10
.vscode/extensions.json
vendored
@ -1,11 +1,17 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"quodatum.ext1",
|
||||
"quodatum.vscode-basex",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"eamodio.gitlens",
|
||||
"kelvin.vscode-sshfs",
|
||||
"alefragnani.project-manager"
|
||||
"alefragnani.project-manager",
|
||||
"redhat.vscode-xml",
|
||||
"deltaxml.xpath-notebook",
|
||||
"maattdd.gitless",
|
||||
"buenon.scratchpads",
|
||||
"bierner.markdown-mermaid",
|
||||
"mfederczuk.w3c-ebnf",
|
||||
"quodatum.xquery-notebook"
|
||||
]
|
||||
}
|
Binary file not shown.
Binary file not shown.
10
code-serverx/config/.vscode/extensions.json
vendored
10
code-serverx/config/.vscode/extensions.json
vendored
@ -1,11 +1,17 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"quodatum.vscode-basex",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"eamodio.gitlens",
|
||||
"kelvin.vscode-sshfs",
|
||||
"alefragnani.project-manager",
|
||||
"johnpapa.vscode-peacock",
|
||||
"nonoroazoro.syncing"
|
||||
"redhat.vscode-xml",
|
||||
"deltaxml.xpath-notebook",
|
||||
"maattdd.gitless",
|
||||
"buenon.scratchpads",
|
||||
"bierner.markdown-mermaid",
|
||||
"mfederczuk.w3c-ebnf",
|
||||
"quodatum.xquery-notebook"
|
||||
]
|
||||
}
|
Binary file not shown.
BIN
code-serverx/config/.vscode/vscode-basex-0.0.47.vsix
vendored
BIN
code-serverx/config/.vscode/vscode-basex-0.0.47.vsix
vendored
Binary file not shown.
BIN
code-serverx/config/.vscode/w3c-ebnf-0.2.0.vsix
vendored
BIN
code-serverx/config/.vscode/w3c-ebnf-0.2.0.vsix
vendored
Binary file not shown.
56
vaultwarden/Caddyfile
Normal file
56
vaultwarden/Caddyfile
Normal file
@ -0,0 +1,56 @@
|
||||
{$DOMAIN}:443 {
|
||||
|
||||
log {
|
||||
level INFO
|
||||
|
||||
output file {$LOG_FILE} {
|
||||
|
||||
roll_size 10MB
|
||||
|
||||
roll_keep 10
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# Get a cert by using the ACME HTTP-01 challenge.
|
||||
|
||||
tls {$EMAIL}
|
||||
encode gzip
|
||||
|
||||
# Headers to improve security.
|
||||
|
||||
header {
|
||||
|
||||
# Enable HSTS
|
||||
|
||||
Strict-Transport-Security "max-age=31536000;"
|
||||
|
||||
# Enable cross-site filter (XSS)
|
||||
|
||||
X-XSS-Protection "1; mode=block"
|
||||
|
||||
# Disallow the site to be rendered within a frame (clickjacking protection)
|
||||
|
||||
X-Frame-Options "DENY"
|
||||
|
||||
# Prevent search engines from indexing
|
||||
|
||||
X-Robots-Tag "none"
|
||||
|
||||
# Remove Caddy branding
|
||||
|
||||
-Server
|
||||
|
||||
}
|
||||
|
||||
# Redirect notifications to the WebSocket.
|
||||
|
||||
reverse_proxy /notifications/hub vaultwarden:3012
|
||||
|
||||
reverse_proxy vaultwarden:80 {
|
||||
|
||||
header_up X-Real-IP {remote_host}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -1,34 +1,29 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
|
||||
vaultwarden:
|
||||
container_name: vaultwarden
|
||||
image: vaultwarden/server:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./vw-data/:/data/
|
||||
ports:
|
||||
- 8882:80
|
||||
container_name: vaultwarden
|
||||
restart: always
|
||||
environment:
|
||||
- DOMAIN=https://quodatum.duckns.org
|
||||
- LOGIN_RATELIMIT_MAX_BURST=10
|
||||
- LOGIN_RATELIMIT_SECONDS=60
|
||||
- ADMIN_RATELIMIT_MAX_BURST=10
|
||||
- ADMIN_RATELIMIT_SECONDS=60
|
||||
- ADMIN_TOKEN=
|
||||
- SENDS_ALLOWED=true
|
||||
- EMERGENCY_ACCESS_ALLOWED=true
|
||||
- WEB_VAULT_ENABLED=true
|
||||
- SIGNUPS_ALLOWED=false
|
||||
- SIGNUPS_VERIFY=true
|
||||
- SIGNUPS_VERIFY_RESEND_TIME=3600
|
||||
- SIGNUPS_VERIFY_RESEND_LIMIT=5
|
||||
- SIGNUPS_DOMAINS_WHITELIST=orlop.duckdns.org
|
||||
- SMTP_HOST=smtp.gmail.com
|
||||
- SMTP_FROM=bunce.andy@gmail.com
|
||||
- SMTP_FROM_NAME=Vaultwarden
|
||||
- SMTP_SECURITY=starttls
|
||||
- SMTP_PORT=465
|
||||
- SMTP_USERNAME=bunce.andy@gmail.com
|
||||
- SMTP_PASSWORD= etsyjkzdzkzhnztf
|
||||
- SMTP_AUTH_MECHANISM=
|
||||
- WEBSOCKET_ENABLED=true
|
||||
volumes:
|
||||
- ./vw-data:/data
|
||||
|
||||
caddy:
|
||||
image: caddy:2
|
||||
container_name: caddy
|
||||
restart: always
|
||||
ports:
|
||||
- 84:80
|
||||
- 444:443
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
- ./caddy-config:/config
|
||||
- ./caddy-data:/data
|
||||
environment:
|
||||
- DOMAIN=https://vault.quodatum.duckdns.org
|
||||
- EMAIL=bunce.andy@gmail.com
|
||||
- LOG_FILE=/data/access.log
|
||||
|
||||
|
@ -1 +1,3 @@
|
||||
https://webdock.io/en/docs/how-guides/app-installation-and-setup/how-install-vaultwarden-your-webdock-server
|
||||
# was
|
||||
https://www.techaddressed.com/tutorials/vaultwarden-docker-compose/
|
Loading…
Reference in New Issue
Block a user