Add vaultwarden

This commit is contained in:
2024-10-09 15:18:37 +01:00
parent f1010b8044
commit f12b58ce3c
7 changed files with 83 additions and 14 deletions
+5 -1
View File
@@ -142,4 +142,8 @@ gitea.64815139.xyz {
immich.64815139.xyz { immich.64815139.xyz {
reverse_proxy 192.168.0.221:2283 reverse_proxy 192.168.0.221:2283
} }
oaT3cqYuCAegcoM4Xc4Pun1BUMOschxR.64815139.xyz {
reverse_proxy 192.168.0.221:4449
}
+4
View File
@@ -29,6 +29,10 @@
{ {
"name": "immich", "name": "immich",
"proxied": false "proxied": false
},
{
"name": "oaT3cqYuCAegcoM4Xc4Pun1BUMOschxR",
"proxied": false
} }
] ]
} }
Binary file not shown.
@@ -0,0 +1,3 @@
<svg width="182" height="218" viewBox="0 0 182 218" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M179.304 2.68965C177.498 0.887307 175.358 0 172.913 0H9.08607C6.61311 0 4.50136 0.887307 2.69526 2.68965C0.889156 4.49199 0 6.62707 0 9.06716V118.067C0 126.192 1.58381 134.26 4.75144 142.274C7.91906 150.26 11.8647 157.358 16.5606 163.569C21.2564 169.753 26.8414 175.798 33.3434 181.676C39.8454 187.554 45.8472 192.407 51.3211 196.289C56.8227 200.171 62.5467 203.831 68.5207 207.297C74.4947 210.763 78.746 213.092 81.2467 214.312C83.7475 215.532 85.7759 216.503 87.2763 217.14C88.4156 217.695 89.6382 218 90.9719 218C92.3056 218 93.5282 217.723 94.6675 217.14C96.1957 216.475 98.1963 215.532 100.725 214.312C103.226 213.092 107.477 210.735 113.451 207.297C119.425 203.831 125.149 200.171 130.651 196.289C136.152 192.407 142.154 187.527 148.656 181.676C155.158 175.798 160.743 169.78 165.439 163.569C170.135 157.358 174.053 150.287 177.248 142.274C180.416 134.288 181.999 126.219 181.999 118.067V9.09489C182.027 6.62707 181.11 4.49199 179.304 2.68965ZM158.187 119.093C158.187 158.551 90.9997 192.545 90.9997 192.545V23.3472H158.187C158.187 23.3472 158.187 79.6357 158.187 119.093Z" fill="#175DDC"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+10 -2
View File
@@ -9,7 +9,7 @@
</head> </head>
<body> <body>
<div class="container"> <main class="container">
<ul class="app-grid"> <ul class="app-grid">
<li class="app-item"> <li class="app-item">
<a href="https://search.64815139.xyz" target="_blank"> <a href="https://search.64815139.xyz" target="_blank">
@@ -27,6 +27,14 @@
<span class="app-name">Photos</span> <span class="app-name">Photos</span>
</a> </a>
</li> </li>
<li class="app-item">
<a href="https://oaT3cqYuCAegcoM4Xc4Pun1BUMOschxR.64815139.xyz" target="_blank">
<div class="app-icon-wrapper">
<img src="assets/icons/bitwarden.svg" alt="Bitwarden" class="app-icon">
</div>
<span class="app-name">Vault</span>
</a>
</li>
<li class="app-item"> <li class="app-item">
<a href="https://gitea.64815139.xyz/user/login" target="_blank"> <a href="https://gitea.64815139.xyz/user/login" target="_blank">
<div class="app-icon-wrapper"> <div class="app-icon-wrapper">
@@ -37,7 +45,7 @@
</li> </li>
<!-- Add more application links here --> <!-- Add more application links here -->
</ul> </ul>
</div> </main>
</body> </body>
</html> </html>
+20 -11
View File
@@ -1,3 +1,8 @@
@font-face {
font-family: 'Poppins';
src: URL('assets/fonts/Poppins-Regular.ttf') format('truetype');
}
/* Basic reset */ /* Basic reset */
* { * {
margin: 0; margin: 0;
@@ -6,18 +11,19 @@
} }
body { body {
font-family: Arial, sans-serif; font-family: Poppins;
background: center no-repeat url('./assets/wallpapers/blobs.jpg') fixed; background: center no-repeat url('./assets/wallpapers/blobs.jpg') fixed;
display: flex;
align-items: center;
justify-content: center;
height: 100vh; height: 100vh;
} }
.container { .container {
width: 90%; width: 90%;
max-width: 1200px; max-width: 1200px;
height: 100%;
margin: 0 auto; margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
} }
.app-grid { .app-grid {
@@ -29,20 +35,23 @@ body {
} }
.app-item { .app-item {
background: #fff; background: rgba(255, 255, 255, 0.3);
opacity: 0.95; /* Use semi-transparent white for background */
border-radius: 12px; border-radius: 4px 12px;
overflow: hidden; overflow: hidden;
width: 150px; width: 150px;
height: 150px; height: 150px;
/* Ensuring the item is square */
text-align: center; text-align: center;
transition: transform 0.2s, box-shadow 0.2s; transition: transform 0.2s, box-shadow 0.2s;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
} }
.app-item a { .app-item a {
text-decoration: none; text-decoration: none;
color: #333; color: #2a037c;
display: block; display: block;
height: 100%; height: 100%;
display: flex; display: flex;
@@ -54,7 +63,7 @@ body {
.app-icon-wrapper { .app-icon-wrapper {
width: 100%; width: 100%;
height: 70%; height: 60%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -66,7 +75,7 @@ body {
} }
.app-name { .app-name {
margin-top: 10px; margin-top: 16px;
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
height: 20%; height: 20%;
+41
View File
@@ -0,0 +1,41 @@
secrets:
ADMIN_TOKEN:
file: './secrets/ADMIN_TOKEN'
SMTP_USERNAME:
file: './secrets/SMTP_USERNAME'
SMTP_PASSWORD:
file: './secrets/SMTP_PASSWORD'
services:
vaultwarden:
container_name: vaultwarden
image: vaultwarden/server:latest
restart: unless-stopped
secrets:
- ADMIN_TOKEN
- SMTP_USERNAME
- SMTP_PASSWORD
environment:
DOMAIN: https://oaT3cqYuCAegcoM4Xc4Pun1BUMOschxR.64815139.xyz
LOGIN_RATELIMIT_MAX_BURST: 10
LOGIN_RATELIMIT_SECONDS: 60
ADMIN_RATELIMIT_MAX_BURST: 10
ADMIN_RATELIMIT_SECONDS: 60
ADMIN_TOKEN_FILE: /run/secrets/ADMIN_TOKEN
SENDS_ALLOWED: true
EMERGENCY_ACCESS_ALLOWED: true
WEB_VAULT_ENABLED: true
SIGNUPS_ALLOWED: true
SIGNUPS_VERIFY: true
SIGNUPS_VERIFY_RESEND_TIME: 3600
SIGNUPS_VERIFY_RESEND_LIMIT: 5
SMTP_HOST: in-v3.mailjet.com
SMTP_FROM: vaultwarden@64815139.xyz
SMTP_FROM_NAME: Vaultwarden
SMTP_SECURITY: starttls
SMTP_PORT: 587
SMTP_USERNAME_FILE: /run/secrets/SMTP_USERNAME
SMTP_PASSWORD_FILE: /run/secrets/SMTP_PASSWORD
volumes:
- ./data/:/data/
ports:
- 4449:80