Initial commit — site configs
- vault.hidrago.click: Vaultwarden (password manager) - git.hidrago.click: Gitea (git service) - All static sites (suma, weather, combien-jour, tokyo-trip, etc.) - Nginx configs for all subdomains - Systemd user service for Vaultwarden
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Vaultwarden — self-hosted password manager
|
||||
# https://vault.hidrago.click
|
||||
services:
|
||||
vaultwarden:
|
||||
image: vaultwarden/server:latest
|
||||
container_name: vaultwarden
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DOMAIN: "https://vault.hidrago.click"
|
||||
WEBSOCKET_ENABLED: "true"
|
||||
SIGNUPS_ALLOWED: "false"
|
||||
# Generated via: docker run --rm -it vaultwarden/server /vaultwarden hash
|
||||
ADMIN_TOKEN: "$$argon2id$$v=19$$m=65540,t=3,p=4$$ufU3+T57S9CCQLaaRKU4Y/7cZWwTWGE88IwK04lJeus$$E8AdcFA2Rltos1yTKLGn3hIU9iUHhIKLwYcqfLljSm4"
|
||||
volumes:
|
||||
- ./vw-data:/data
|
||||
ports:
|
||||
- "127.0.0.1:8081:80"
|
||||
- "127.0.0.1:3012:3012"
|
||||
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Vaultwarden - self-hosted Bitwarden-compatible password manager
|
||||
Documentation=https://github.com/dani-garcia/vaultwarden
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
WorkingDirectory=/home/jerome/hermes-sites/vault.hidrago.click
|
||||
ExecStart=/usr/bin/docker compose up -d
|
||||
ExecStop=/usr/bin/docker compose down
|
||||
ExecReload=/usr/bin/docker compose restart
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
TimeoutStartSec=120
|
||||
TimeoutStopSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user