34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
services:
|
|
secrets:
|
|
image: nixos/nix:latest
|
|
command: nix-shell -p ssh-to-age -p sops --command "mkdir -p /root/.config/sops/age && ssh-to-age -private-key -i /etc/ssh/ssh_host_ed25519_key > /root/.config/sops/age/keys.txt && sops --decrypt /app/secrets.yaml"
|
|
volumes:
|
|
- .:/app
|
|
- /etc/ssh/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key
|
|
|
|
##############################################################################
|
|
##############################################################################
|
|
##############################################################################
|
|
# External Services
|
|
|
|
#httpd:
|
|
#haproxy:
|
|
|
|
#coturn:
|
|
|
|
##############################################################################
|
|
##############################################################################
|
|
##############################################################################
|
|
# Internal Services
|
|
|
|
#dnsmasq:
|
|
#tinc:
|
|
#wireguard:
|
|
|
|
##############################################################################
|
|
##############################################################################
|
|
##############################################################################
|
|
# Local Services
|
|
|
|
#dockge:
|
|
#uptime-kuma:
|