refactor!: use short password name as 2nd password

This commit is contained in:
decentral1se 2023-09-25 08:19:42 +02:00
parent fd9a69890a
commit bbf43daa94
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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: