Skip to content

Commit

Permalink
core: Add userlifecycle parameters.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Apr 11, 2024
1 parent bf185d5 commit 742bb86
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ services:
APP_ENV: prod
volumes:
- ./:/config
- ./userlifecycle/parameters.yml:/var/www/html/config/legacy/parameters.yml
networks:
coreconextdev:
hostname: userlifecycle.docker
Expand Down
36 changes: 36 additions & 0 deletions core/userlifecycle/parameters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This file is a "template" of what your parameters.yml file should look like
# Set parameters here that may be different on each deployment target of the app, e.g. development, staging, production.
# http://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
parameters:
database_host: mariadb
database_port: ~
database_name: userlifecycle
database_user: userlifecyclerw
database_password: secret
# You should uncomment this if you want to use pdo_sqlite
#database_path: '%kernel.root_dir%/../var/data/data.sqlite'

# A secret key that's used to generate certain security-related tokens
secret: ThisTokenIsNotSoSecretChangeIt

# The clients should be configured with an api url, username and password. Basic auth is the only supported auth
# mechanism at this point.
open_conext_user_lifecycle_clients:
# The service name is used for naming the dynamically created service and should be written in snake case
my_service_name:
# The API Url excluding the endpoint engine:
url: 'https://engine-api.dev.openconext.local'
username: "lifecycle"
password: "secret"
verify_ssl: true
# By default ssl verification is enabled, can be switched of by setting it to false
# The maximum number of users that can be deprovisioned during the batch deprovision run.
user_quota: 1500

# The inactivity period after which a user is deprovisioned. The period is in months.
inactivity_period: 37

# is the deprovision api enabled?
deprovision_api_settings_enabled: true
deprovision_api_settings_username: userlifecycle
deprovision_api_settings_password: secret

0 comments on commit 742bb86

Please sign in to comment.