28 lines
563 B
Text
28 lines
563 B
Text
[Unit]
|
|
Description=Update qbittorrent session IP for tracker
|
|
After=qbittorrent.service
|
|
After=gluetun.service
|
|
BindsTo=gluetun.service
|
|
BindsTo=qbittorrent.service
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
TimeoutStartSec=900
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|
|
[Container]
|
|
# TODO: Is `latest` safe for this container?
|
|
Image=docker.io/myanonamouse/seedboxapi:latest
|
|
ContainerName=seedboxapi
|
|
HostName=seedboxapi
|
|
AutoUpdate=registry
|
|
|
|
Network=container:gluetun
|
|
|
|
Volume=/volumes/books/seedboxapi/config:/config
|
|
|
|
Environment=DEBUG=1
|
|
Environment=mam_id=$mam_id
|
|
Environment=interval=1
|