[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= 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