From 9b7a196323c2d45be5809c121f1ebd827b7b16b3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 31 Oct 2026 19:07:53 +0200 Subject: [PATCH] After configuring the domain name --- docker-compose.yml | 15 ++++++++++----- prediqo_mobile/dart_defines.prod.example.json | 2 +- prediqo_mobile/lib/core/config/app_config.dart | 3 +-- prediqo_mobile/pubspec.yaml | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 12f73419..908db378 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -405,11 +405,16 @@ services: volumes: - letsencrypt:/etc/letsencrypt - certbot-www:/var/www/certbot - command: >- - renew --manual - --preferred-challenges dns - --manual-public-ip-logging-ok - --deploy-hook sh -c "date +%s > /var/www/certbot/.cert-renewed" + # deploy-hook must be ONE argv; a bare `sh -c "..."` was parsed as Certbot flags. + entrypoint: certbot + command: + - renew + - --manual + - --preferred-challenges + - dns + - --manual-public-ip-logging-ok + - --deploy-hook + - sh -c "mkdir -p /var/www/certbot && date +%s > /var/www/certbot/.cert-renewed" networks: - prediqo-net diff --git a/prediqo_mobile/dart_defines.prod.example.json b/prediqo_mobile/dart_defines.prod.example.json index 9055531b..0956c1db 100644 --- a/prediqo_mobile/dart_defines.prod.example.json +++ b/prediqo_mobile/dart_defines.prod.example.json @@ -1,5 +1,5 @@ { - "API_BASE_URL": "http://prediqo.redirectme.net:9080", + "API_BASE_URL": "https://tloto.net:9443", "APP_ENV": "production", "WS_ENABLED": "true" } diff --git a/prediqo_mobile/lib/core/config/app_config.dart b/prediqo_mobile/lib/core/config/app_config.dart index a1834ad5..e1ec70d9 100644 --- a/prediqo_mobile/lib/core/config/app_config.dart +++ b/prediqo_mobile/lib/core/config/app_config.dart @@ -74,8 +74,7 @@ class AppConfig { } /// Production API reached by release APKs on real devices (override with dart-define). - static const String defaultProductionApiBaseUrl = - 'http://prediqo.redirectme.net:9080'; + static const String defaultProductionApiBaseUrl = 'https://tloto.net:9443'; /// Emulator-only loopback to the host machine's Docker nginx. static const String defaultEmulatorApiBaseUrl = 'http://10.0.2.2:9080'; diff --git a/prediqo_mobile/pubspec.yaml b/prediqo_mobile/pubspec.yaml index 7d67d397..664b85bc 100644 --- a/prediqo_mobile/pubspec.yaml +++ b/prediqo_mobile/pubspec.yaml @@ -1,7 +1,7 @@ name: prediqo_mobile description: "Tloto mobile app - prediction games and crypto wallet." publish_to: 'none' -version: 2.0.2+7 +version: 2.0.2+9 environment: sdk: ^3.9.2