0
0

Compare commits

...

2 Commits

Author SHA1 Message Date
09f1708a4d Add SECRET_ prefix to secret version. 2023-10-10 21:18:47 +01:00
ad66809d41 Add test case for long secrets. 2023-10-03 21:58:40 +01:00
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
#SECRET_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_${SECRET_LONG_SECRET_VERSION}