Add authelia stuff with descriptions to --sample.

This commit is contained in:
Fabian Schlenz 2022-10-27 15:04:26 +02:00
parent 8cad86560d
commit a0bb698c02

14
dup.rb
View File

@ -70,14 +70,26 @@ def get_sample(name="container")
- "/etc/localtime:/etc/localtime:ro"
labels:
# Syntax:
# <hostname>: Uses the given hostname and the default cert (*.schle.nz)
# <hostname>@: Uses the given hostname and the cert with the same name
# <hostname>@<cert>: Uses the given hostname and cert
nginx_virtual_host: container.home.schle.nz
nginx_port: 80
nginx_additional_ports: "443, 5050"
nginx_allow: fabian # "user" or "@group" or "user, user, @group" or "all"
nginx_no_robots: true
nginx_public_paths: "/public, /api"
nginx_type: # "http" (default), "https", "fastcgi", "skip" (doesn't create any entries)
nginx_client_max_body_size: "25M"
# Syntax:
# user:<username>
# group:<groupname>
authelia_allow: "user:fabian"
# Policies:
# one_factor
# two_factor
# bypass
authelia_policy: one_factor
networks:
- "nginx"