32 lines
632 B
Plaintext
32 lines
632 B
Plaintext
# THIS IS A ROOT CONTAINER
|
|
# Must be configured AFTER core.
|
|
[Unit]
|
|
Description=Defguard - Gateway
|
|
After=network-online.target
|
|
|
|
[Container]
|
|
ContainerName=defguard-gateway
|
|
Image=ghcr.io/defguard/gateway:latest
|
|
AutoUpdate=registry
|
|
|
|
Network=host
|
|
AddCapability=NET_ADMIN
|
|
|
|
EnvironmentFile=/mnt/data/containers/defguard/.env
|
|
|
|
Environment=DEFGUARD_LOG_LEVEL=debug
|
|
|
|
Volume=/mnt/data/containers/defguard/ca.crt:/ca.crt
|
|
|
|
Label=homepage.group=Misc.
|
|
Label=homepage.name="Defguard Gateway"
|
|
Label=homepage.icon=defguard.png
|
|
Label=homepage.description="Auth Provider"
|
|
|
|
[Service]
|
|
Restart=always
|
|
TimeoutStartSec=90
|
|
|
|
[Install]
|
|
WantedBy=default.target
|