Add test case for long secrets.

This commit is contained in:
Rich M 2023-10-03 21:58:40 +01:00
parent eae5fb5d29
commit ad66809d41
2 changed files with 13 additions and 0 deletions

View File

@ -12,3 +12,4 @@ LETS_ENCRYPT_ENV=production
SECRET_TEST_PASS_ONE_VERSION=v1
SECRET_TEST_PASS_TWO_VERSION=v1 # length=10
#SECRET_EXTRA_PASS_VERSION=v1
#LONG_SECRET_VERSION=v1

12
compose.long_secret.yml Normal file
View File

@ -0,0 +1,12 @@
---
version: "3.8"
services:
app:
secrets:
- long_secret
secrets:
long_secret:
external: true
name: ${STACK_NAME}_long_secret1234567890_${LONG_SECRET_VERSION}