0
0
Fork 0

feat: a secret

This commit is contained in:
decentral1se 2023-09-19 11:07:53 +02:00
parent 1ca180d335
commit 430364a43e
Signed by untrusted user: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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