fix: use traefik-public network name

This commit is contained in:
Gwadaking
2026-04-01 19:56:44 -04:00
parent 813b26ec1d
commit 1474b14e35
6 changed files with 1086 additions and 22 deletions

View File

@@ -3,5 +3,6 @@
"allow": [
"Bash(git commit:*)"
]
}
},
"outputStyle": "default"
}

View File

@@ -13,6 +13,7 @@
"doctrine/doctrine-migrations-bundle": "^3.7",
"doctrine/orm": "^3.6",
"jsor/doctrine-postgis": "^2.4",
"minishlink/web-push": "^10.0",
"nelmio/cors-bundle": "^2.6",
"phpdocumentor/reflection-docblock": "^6.0",
"phpstan/phpdoc-parser": "^2.3",
@@ -27,6 +28,7 @@
"symfony/process": "7.4.*",
"symfony/property-access": "7.4.*",
"symfony/property-info": "7.4.*",
"symfony/rate-limiter": "7.4.*",
"symfony/runtime": "7.4.*",
"symfony/security-bundle": "7.4.*",
"symfony/serializer": "7.4.*",

1071
backend/composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,19 +1,9 @@
framework:
cache:
# Unique name of your app: used to compute stable namespaces for cache keys.
#prefix_seed: your_vendor_name/app_name
app: cache.adapter.redis
default_redis_provider: '%env(REDIS_URL)%'
# The "app" cache stores to the filesystem by default.
# The data in this cache should persist between deploys.
# Other options include:
# Redis
#app: cache.adapter.redis
#default_redis_provider: redis://localhost
# APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
#app: cache.adapter.apcu
# Namespaced pools use the above "app" backend by default
#pools:
#my.dedicated.cache: null
when@dev:
framework:
cache:
app: cache.adapter.filesystem

View File

@@ -629,7 +629,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
* }>,
* },
* rate_limiter?: bool|array{ // Rate limiter configuration
* enabled?: bool|Param, // Default: false
* enabled?: bool|Param, // Default: true
* limiters?: array<string, array{ // Default: []
* lock_factory?: scalar|Param|null, // The service ID of the lock factory used by this limiter (or null to disable locking). // Default: "auto"
* cache_pool?: scalar|Param|null, // The cache pool to use for storing the current limiter state. // Default: "cache.rate_limiter"

View File

@@ -7,9 +7,11 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
class SentinelHubClient
{
private const AUTH_URL = 'https://services.sentinel-hub.com/oauth/token';
private const PROCESS_URL = 'https://services.sentinel-hub.com/api/v1/process';
private const CATALOG_URL = 'https://services.sentinel-hub.com/api/v1/catalog/1.0.0/search';
// Copernicus Data Space Ecosystem (CDSE) — gratuit, financé par l'UE
// https://documentation.dataspace.copernicus.eu/APIs/SentinelHub/Overview/Authentication.html
private const AUTH_URL = 'https://identity.dataspace.copernicus.eu/auth/realms/CDSE/protocol/openid-connect/token';
private const PROCESS_URL = 'https://sh.dataspace.copernicus.eu/api/v1/process';
private const CATALOG_URL = 'https://sh.dataspace.copernicus.eu/api/v1/catalog/1.0.0/search';
public function __construct(
private HttpClientInterface $httpClient,