Files
lincodex/deploy/edge/systemd/docker-after-awg.conf
T

13 lines
592 B
Plaintext

# Drop-in for docker.service on the app host, installed as
# /etc/systemd/system/docker.service.d/10-lincodex-awg.conf.
#
# The frontend container publishes its port on the tunnel address
# (APP_HTTP_BIND). Docker cannot publish a port on an address that does not
# exist yet, so the tunnel interface must be up before the daemon starts the
# restart-policy containers. Wants (not Requires) keeps Docker running when
# the tunnel unit fails; the frontend container then fails to start and is
# visible as such.
[Unit]
After=awg-quick@awg-lincodex.service
Wants=awg-quick@awg-lincodex.service