diff --git a/.env.sample b/.env.sample index 7e4eb58..df8c4b4 100644 --- a/.env.sample +++ b/.env.sample @@ -6,3 +6,5 @@ DOMAIN=abra-integration-test-recipe.example.com #EXTRA_DOMAINS=', `www.{{ .Name }}.example.com`' LETS_ENCRYPT_ENV=production + +SECRET_TEST_PASSWORD_VERSION=v1 diff --git a/compose.yml b/compose.yml index f51aaf9..f56d052 100644 --- a/compose.yml +++ b/compose.yml @@ -6,6 +6,8 @@ services: image: nginx:1.20.0 networks: - proxy + secrets: + - test_password deploy: restart_policy: condition: on-failure @@ -28,6 +30,11 @@ services: retries: 10 start_period: 1m +secrets: + test_password: + external: true + name: ${STACK_NAME}_test_password_${SECRET_TEST_PASSWORD_VERSION} + networks: proxy: external: true