feat: add VaultWarden
This commit is contained in:
parent
832c72b573
commit
0adb1a791c
@ -14,3 +14,4 @@ HOSTNAME_GITEA=git.example.com
|
||||
HOSTNAME_HOMEPAGE=ui.example.com
|
||||
HOSTNAME_SAGE=sage.example.com
|
||||
HOSTNAME_AQS=example.com
|
||||
HOSTNAME_PASSWORDS=passwords.example.com
|
||||
|
23
compose.yml
23
compose.yml
@ -173,3 +173,26 @@ services:
|
||||
- "traefik.http.routers.homepage.tls=true"
|
||||
- "traefik.http.routers.homepage.tls.certresolver=myresolver"
|
||||
- "traefik.http.services.homepage.loadbalancer.server.port=80"
|
||||
|
||||
vaultwarden:
|
||||
container_name: vaultwarden
|
||||
image: vaultwarden/server:latest
|
||||
environment:
|
||||
- DOMAIN=https://${HOSTNAME_PASSWORDS}
|
||||
volumes:
|
||||
- ./.volumes/vaultwarden:/data
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
cpus: '0.5'
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.vaultwarden.rule=Host(`${HOSTNAME_PASSWORDS}`)"
|
||||
- "traefik.http.routers.vaultwarden.entrypoints=websecure"
|
||||
- "traefik.http.routers.vaultwarden.tls=true"
|
||||
- "traefik.http.routers.vaultwarden.tls.certresolver=myresolver"
|
||||
- "traefik.http.services.vaultwarden.loadbalancer.server.port=80"
|
||||
|
@ -85,10 +85,16 @@
|
||||
⬇️ Torrents
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://$HOSTNAME_PASSWORDS"
|
||||
target="_blank">
|
||||
🔑 Passwords
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://$HOSTNAME_GITEA"
|
||||
target="_blank">
|
||||
📦 Gitea
|
||||
📦 Git
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
Loading…
Reference in New Issue
Block a user