]> git.parisson.com Git - teleforma.git/commitdiff
disable recovery
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 26 Nov 2021 10:55:35 +0000 (11:55 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 26 Nov 2021 10:55:35 +0000 (11:55 +0100)
app/settings.py
bin
env/db-recovery.yml
env/prod.env
lib/pdfannotator

index 0a34e1a47113494fc8bb0e4394a9f5a57be3c310..7df91150b2a212c61dc6be1a9b545a279ba99f8e 100644 (file)
@@ -14,7 +14,7 @@ DEBUG_ENV = os.environ.get('DEBUG') == 'True'
 DEBUG = DEBUG_ENV
 TEMPLATE_DEBUG = DEBUG
 
-RECOVERY = True
+RECOVERY = False
 
 # disable to debug websocket and improve performance
 DEBUG_TOOLBAR = False
diff --git a/bin b/bin
index 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd..edd46124d392ae27b88eab49d371286e8b6b9e2e 160000 (submodule)
--- a/bin
+++ b/bin
@@ -1 +1 @@
-Subproject commit 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd
+Subproject commit edd46124d392ae27b88eab49d371286e8b6b9e2e
index b05d94252ed4e1b4075007dc4b1975a3c42bb76d..4b139a2f1653ce599802bc6d21a31bd5760bde8f 100644 (file)
@@ -12,6 +12,8 @@ services:
       - ./bin:/srv/bin
       - ./var/backup/:/srv/backup
       - /etc/localtime:/etc/localtime:ro
+    networks:
+      - teleforma-prod
 
 volumes:
   db-recovery:
index c37ab62ac58fb02a62b1c637fc722c8adc8cb005..a61beada7467c98b137e1cfe95d60bf63ea61137 100644 (file)
@@ -8,3 +8,7 @@ POSTGRES_DATABASE=teleforma
 POSTGRES_DB=teleforma
 POSTGRES_USER=teleforma
 POSTGRES_HOST_AUTH_METHOD=trust
+
+DB_HOST_RECOVERY=db-recovery
+POSTGRES_HOST_RECOVERY=db-recovery
+POSTGRES_PASSWORD_RECOVERY=EtOdlerlOt8ob
index c6b953270e4e8a7d97853d7a784f8e6df9ed9c53..ce69eca18a6f5b8774215725fd6b42534f13412f 160000 (submodule)
@@ -1 +1 @@
-Subproject commit c6b953270e4e8a7d97853d7a784f8e6df9ed9c53
+Subproject commit ce69eca18a6f5b8774215725fd6b42534f13412f