podbox/quadlets/qbittorrent-port-forward-gluetun-server/qbittorrent-port-forward-gluetun-server.container
2024-11-24 22:56:33 -06:00

29 lines
713 B
Text

[Unit]
Description=Port forward updater for qbittorrent over gluetun
After=gluetun.service
After=qbittorrent.service
BindsTo=gluetun.service
BindsTo=qbittorrent.service
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=default.target
[Container]
# TODO: Replace this with one that has tags
# Probably have to repack my own
Image=docker.io/mjmeli/qbittorrent-port-forward-gluetun-server:latest
ContainerName=qbittorrent-port-forward-gluetun-server
HostName=qbittorrent-port-forward-gluetun-server
AutoUpdate=registry
Network=
Environment=QBT_USERNAME=$qbt_user
Environment=QBT_ADDR=http://localhost:8080
Environment=GTN_ADDR=http://localhost:8000
Secret=qbt_pw,type=env,target=QBT_PASSWORD