From bbf43daa940eabb98aa3b9c4823926388dc4dce1 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 25 Sep 2023 08:19:42 +0200 Subject: [PATCH] refactor!: use short password name as 2nd password --- .env.sample | 3 +-- compose.yml | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.env.sample b/.env.sample index 25383ae..8e8aa12 100644 --- a/.env.sample +++ b/.env.sample @@ -8,5 +8,4 @@ DOMAIN=abra-integration-test-recipe.example.com LETS_ENCRYPT_ENV=production SECRET_TEST_PASSWORD_VERSION=v1 -SECRET_TEST_PASSWORD_TWO_VERSION=v1 # length=10 -SECRET_TP3_VERSION=v1 # length=50 +SECRET_TP2_VERSION=v1 # length=10 diff --git a/compose.yml b/compose.yml index 11310ee..8462563 100644 --- a/compose.yml +++ b/compose.yml @@ -10,8 +10,7 @@ services: - test-volume:/var/www secrets: - test_password - - test_password_two - - tp3 + - tp2 deploy: restart_policy: condition: on-failure @@ -47,9 +46,9 @@ secrets: test_password_two: external: true name: ${STACK_NAME}_test_password_two_${SECRET_TEST_PASSWORD_TWO_VERSION} - tp3: + tp2: external: true - name: ${STACK_NAME}_tp3_${SECRET_TP3_VERSION} + name: ${STACK_NAME}_tp3_${SECRET_TP2_VERSION} volumes: test-volume: