Give Authentik more time to start before we consider it failed
This commit is contained in:
parent
6cc100afcc
commit
e6117ad194
2 changed files with 4 additions and 2 deletions
|
@ -14,7 +14,8 @@ ExecStart=/usr/bin/docker run --rm --name {{ container_names.authentik.server }}
|
|||
ExecStartPost=/usr/bin/bash -c "/bin/sleep 10 && /usr/bin/docker network connect nginx_net {{ container_names.authentik.server }}"
|
||||
ExecStop=/usr/bin/docker stop {{ container_names.authentik.server }}
|
||||
Restart=always
|
||||
RestartSec=15s
|
||||
RestartSec=60s
|
||||
TimeoutRestartSec=60s
|
||||
Type=exec
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -16,7 +16,8 @@ ExecStart=/usr/bin/docker run --rm --name {{ container_names.authentik.worker }}
|
|||
ExecStartPost=/usr/bin/bash -c "/bin/sleep 10 && /usr/bin/docker network connect nginx_net {{ container_names.authentik.worker }}"
|
||||
ExecStop=/usr/bin/docker stop {{ container_names.authentik.worker }}
|
||||
Restart=always
|
||||
RestartSec=15s
|
||||
RestartSec=60s
|
||||
TimeoutRestartSec=60s
|
||||
Type=exec
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in a new issue