generated from coop-cloud/example
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`'
|
#EXTRA_DOMAINS=', `www.{{ .Name }}.example.com`'
|
||||||
|
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
|
|
||||||
|
SECRET_TEST_PASSWORD_VERSION=v1
|
||||||
|
@ -6,6 +6,8 @@ services:
|
|||||||
image: nginx:1.20.0
|
image: nginx:1.20.0
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
secrets:
|
||||||
|
- test_password
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -28,6 +30,11 @@ services:
|
|||||||
retries: 10
|
retries: 10
|
||||||
start_period: 1m
|
start_period: 1m
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
test_password:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_test_password_${SECRET_TEST_PASSWORD_VERSION}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user