diff --git a/.env.sample b/.env.sample index 0f0739d..285a912 100644 --- a/.env.sample +++ b/.env.sample @@ -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 diff --git a/compose.long_secret.yml b/compose.long_secret.yml new file mode 100644 index 0000000..0da6b0f --- /dev/null +++ b/compose.long_secret.yml @@ -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}