--- # Default variables for the static_websites role # Infrastructure # Ansible instructions to deploy the infrastructure # Copyright (C) 2019-2020 Christoph (Sheogorath) Kern # Copyright (C) 2020 Saibotk # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # The install location (where to put the docker-compose.yml) static_websites_install_location: /srv/static_websites # The default certresolver to use by traefik for the domain if none is specified static_websites_default_traefik_certresolver: letsencrypt_http # List of all static websites that should be deployed # Available fields: # WEBSITENAME: - The name of the website/entry # image - docker image, can include a tag # domain - domain that is published by traefik # certresolver - specify traefik cert resolver (optional) # www - should we add www. as alias (optional) # hsts: - HSTS advanced settings (optional) # preloaded - enable preloaded header # subdomains - enable all subdomains header # nginx: - nginx specific settings # readonly - specify if the image can be readonly (optional, if this is not defined, tmpfs below is also ignored) # tmpfs: - List tmpfs definitions like the example below that should be added to the container (optional) # "/tmp/nginx-cache": 1M # See the README for an example static_websites: {} # noqa var-naming[no-role-prefix]