infrastructure/roles/unicorns-website/defaults/main.yml
2020-08-10 01:37:13 +02:00

68 lines
2.3 KiB
YAML

---
# Default variables for the unicorns-website role
# Infrastructure
# Ansible instructions to deploy the infrastructure
# 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 <http://www.gnu.org/licenses/>.
# The install locations
unicorns_website_install_location: /srv/unicorns-website
unicorns_website_env_location: "{{ unicorns_website_install_location }}/env"
unicorns_website_database_location: "{{ unicorns_website_install_location }}/database"
unicorns_website_redis_location: "{{ unicorns_website_install_location }}/redis"
unicorns_website_storage_location: "{{ unicorns_website_install_location }}/storage"
# The docker image/version
unicorns_website_image: registry.git.saibotk.de/rainbow-unicorns/website
unicorns_website_image_version: "latest"
# The redis/database image versions/tags
unicorns_website_redis_image_version: "6.0.5"
unicorns_website_database_image_version: "9.6.18"
# The SELinux levels for the containers/folders
unicorns_website_selinux_level: "{{ omit }}"
# The domain for traefik to serve this on
unicorns_website_traefik_domain: www.example.com
# The certresolver for traefik to use on this domain
unicorns_website_traefik_certresolver: letsencrypt_http
# The database credentials
# ! CHANGE THEM TO INCREASE SECURITY
unicorns_website_database_name: "laravel"
unicorns_website_database_user: "laravel"
unicorns_website_database_password: "laravel"
# The application encryption key (can be generated with `artisan key:generate`)
unicorns_website_app_key:
# The JWT secret key (can be generated with `artisan passport:install`)
unicorns_website_jwt_secret:
# The Steam OAuth credentials
unicorns_website_steam_key: ""
unicorns_website_steam_secret: ""
# SMTP settings for the application
unicorns_website_mail:
host: ""
port: ""
username: ""
password: ""
encryption: ""
from_name: ""
from_address: ""