bank: Set up revbank-deposit

This commit is contained in:
polyfloyd 2025-04-12 22:52:51 +02:00
parent 75795f0238
commit f5a61a557d
7 changed files with 97 additions and 3 deletions

View file

@ -0,0 +1,4 @@
# {{ ansible_managed }}
PUBLIC_URL=https://{{ deposit_hostname }}
MOLLIE_API_KEY={{ lookup('passwordstore', 'mollie subkey=apikey') }}

View file

@ -0,0 +1,18 @@
# {{ ansible_managed }}
[Unit]
Description=Revbank Deposit
After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=10s
ExecStart=/usr/local/lib/revbank-deposit/.venv/bin/fastapi run main.py --host 127.0.0.1
WorkingDirectory=/usr/local/lib/revbank-deposit
EnvironmentFile=/etc/revbank-deposit.conf
DynamicUser=true
[Install]
WantedBy=multi-user.target