Skip to content
Snippets Groups Projects
  • Reiter, Christoph's avatar
    413a941b
    Remove the starter bundle · 413a941b
    Reiter, Christoph authored
    While the starter bundle gives a nice example for how to integrate an API
    it makes setting up a new server harder because the user usually already
    has a bundle in mind that he/she wants to add.
    
    So remove it and instead make it easier to add bundles by improving the docs
    413a941b
    History
    Remove the starter bundle
    Reiter, Christoph authored
    While the starter bundle gives a nice example for how to integrate an API
    it makes setting up a new server harder because the user usually already
    has a bundle in mind that he/she wants to add.
    
    So remove it and instead make it easier to add bundles by improving the docs
.env 1.40 KiB
# In all environments, the following files are loaded if they exist,
# the later taking precedence over the former:
#
#  * .env                contains default values for the environment variables needed by the app
#  * .env.local          uncommitted file with local overrides
#  * .env.$APP_ENV       committed environment-specific defaults
#  * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

APP_ENV=dev
APP_SECRET=

# KEYCLOAK
KEYCLOAK_SERVER_URL=https://auth-dev.tugraz.at/auth
KEYCLOAK_REALM=tugraz
KEYCLOAK_FRONTEND_CLIENT_ID=auth-dev-mw-frontend-local
# If not empty gets used to check if the access token got issued
# for this audience ('api-gw' for example)
KEYCLOAK_AUDIENCE=api-gw
# Set to true to enable local access token validation, non-local
# requires a client and secret for remote validation
KEYCLOAK_LOCAL_VALIDATION=true
KEYCLOAK_CLIENT_ID=
KEYCLOAK_CLIENT_SECRET=

# Deployment related
APP_BUILDINFO=unknown  # a git hash or something identifying the build
APP_BUILDINFO_URL='#'

# Defines the deployment environment
APP_DEPLOYMENT_ENV='local'