feat: further env var / comment tests

This commit is contained in:
decentral1se 2023-10-09 11:49:04 +02:00
parent 1e8ec66339
commit 0c13aae2e4
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 8 additions and 1 deletions

View File

@ -15,3 +15,5 @@ WITH_COMMENT=foo # should be removed
SECRET_TEST_PASS_ONE_VERSION=v1
SECRET_TEST_PASS_TWO_VERSION=v1 # length=10
#SECRET_EXTRA_PASS_VERSION=v1
NETWORK_WITH_COMMENT=BAZ # should be removed

View File

@ -4,8 +4,11 @@ version: "3.8"
services:
app:
image: nginx:1.21.0
environment:
- TEST_ENV_STANZA=DING # should be removed
networks:
- proxy
- net_with_comment
volumes:
- test-volume:/var/www
secrets:
@ -42,7 +45,7 @@ services:
secrets:
test_pass_one:
external: true
name: ${STACK_NAME}_test_pass_one_${SECRET_TEST_PASS_ONE_VERSION}
name: ${STACK_NAME}_test_pass_one_${SECRET_TEST_PASS_ONE_VERSION} # should be removed
test_pass_two:
external: true
name: ${STACK_NAME}_test_pass_two_${SECRET_TEST_PASS_TWO_VERSION}
@ -53,3 +56,5 @@ volumes:
networks:
proxy:
external: true
net_with_comment:
name: ${NETWORK_WITH_COMMENT}