domain-watchdog/config/services.yaml

57 lines
2.4 KiB
YAML
Raw Normal View History

2024-07-10 22:25:02 +02:00
# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
2024-08-19 18:06:11 +02:00
custom_rdap_servers_file: '%kernel.project_dir%/config/app/custom_rdap_servers.yaml'
2024-08-04 15:49:38 +02:00
mailer_sender_email: '%env(string:MAILER_SENDER_EMAIL)%'
2024-08-07 22:45:55 +02:00
mailer_sender_name: '%env(string:MAILER_SENDER_NAME)%'
2024-08-04 21:21:08 +02:00
oauth_enabled: '%env(OAUTH_CLIENT_ID)%'
2024-08-05 01:30:27 +02:00
registration_enabled: '%env(bool:REGISTRATION_ENABLED)%'
2024-08-19 01:53:05 +02:00
registration_verify_email: '%env(bool:REGISTRATION_VERIFY_EMAIL)%'
2024-07-10 22:25:02 +02:00
2024-08-07 14:31:44 +02:00
limited_features: '%env(bool:LIMITED_FEATURES)%'
limit_max_watchlist: '%env(int:LIMIT_MAX_WATCHLIST)%'
limit_max_watchlist_domains: '%env(int:LIMIT_MAX_WATCHLIST_DOMAINS)%'
2024-08-18 18:34:08 +02:00
limit_max_watchlist_webhooks: '%env(int:LIMIT_MAX_WATCHLIST_WEBHOOKS)%'
2024-08-07 14:31:44 +02:00
2024-08-26 14:02:12 +02:00
outgoing_ip: '%env(string:OUTGOING_IP)%'
influxdb_enabled: '%env(bool:INFLUXDB_ENABLED)%'
2024-12-08 00:52:03 +01:00
influxdb_url: '%env(string:INFLUXDB_URL)%'
influxdb_token: '%env(string:INFLUXDB_TOKEN)%'
influxdb_bucket: '%env(string:INFLUXDB_BUCKET)%'
influxdb_org: '%env(string:INFLUXDB_ORG)%'
2024-07-10 22:25:02 +02:00
services:
# default configuration for services in *this* file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
bind:
$mailerSenderEmail: '%mailer_sender_email%'
2024-08-05 01:30:27 +02:00
$mailerSenderName: '%mailer_sender_name%'
2024-08-26 14:02:12 +02:00
$outgoingIp: '%outgoing_ip%'
2024-07-10 22:25:02 +02:00
# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../src/'
exclude:
- '../src/DependencyInjection/'
- '../src/Entity/'
- '../src/Kernel.php'
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
2025-10-17 12:39:40 +02:00
when@test:
parameters:
gandi_pat_token: '%env(string:GANDI_PAT_TOKEN)%'
2025-10-17 23:08:28 +02:00
namecom_username: '%env(string:NAMECOM_USERNAME)%'
namecom_password: '%env(string:NAMECOM_PASSWORD)%'
2025-10-19 13:27:33 +02:00
namecheap_username: '%env(string:NAMECHEAP_USERNAME)%'
namecheap_token: '%env(string:NAMECHEAP_TOKEN)%'