Files
computer-playbook/roles/web-app-littlejs/vars/main.yml

32 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# General
application_id: "web-app-littlejs"
entity_name: "{{ application_id | get_entity_name }}"
domain: "{{ domains | get_domain(application_id) }}"
LITTLEJS_HEADLINE: "LittleJS Playground"
LITTLEJS_TITLE: "{{ LITTLEJS_HEADLINE }} {{ PRIMARY_DOMAIN | upper }}"
# Base repository URL for LittleJS
LITTLEJS_REPOSITORY_BASE: "https://github.com/KilledByAPixel/LittleJS"
# Git repository for LittleJS engine + examples
docker_repository_address: "{{ LITTLEJS_REPOSITORY_BASE }}.git"
docker_pull_git_repository: true
docker_repository_branch: "main"
# Relative path where sys-stk-full-stateless checks out the repo
LITTLEJS_APP_REL: "services/repository"
LITTLEJS_INDEX_HOST_ABS: "{{ [ docker_compose.directories.volumes, 'index.html' ] | path_join }}"
LITTLEJS_INDEX_HOST_REL: "volumes/index.html"
# Helper variables
LITTLEJS_CONTAINER: "{{ entity_name }}"
LITTLEJS_SERVICE: "{{ entity_name }}"
# Runner HTML for non-full examples
LITTLEJS_RUN_HOST_ABS: "{{ [ docker_compose.directories.volumes, 'run.html' ] | path_join }}"
LITTLEJS_RUN_HOST_REL: "volumes/run.html"