podbox/quadlets/port-forward/port-forward.container
redbeardymcgee e6631eb43c Major reorganization
It makes more sense to wrap every quadlet in its own dir. This makes it
easier to copy a quadlet with batteries included for apps that require a
valid config to be useful.
2024-11-19 21:20:58 -06:00

29 lines
700 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
HostName=qbittorrent-port-forward
AutoUpdate=registry
Network=container:gluetun
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