[Unit] Description=Caddy Load Balancer After=docker-network.service Requires=docker.service Requires=docker-network.service [Service] TimeoutStartSec=0 ExecStartPre=-/usr/bin/docker rm --force lb ExecStart=/usr/bin/docker run --name lb --pull always --log-driver=journald --net nassella -p 8081:443 -p 8080:80 -v /var/lb/caddy:/etc/caddy docker.io/caddy:2 ExecStop=/usr/bin/docker stop lb Restart=always RestartSec=5s [Install] WantedBy=multi-user.target