forked from coop-cloud/abra-test-recipe
feat: a secret
This commit is contained in:
parent
1ca180d335
commit
430364a43e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue