diff --git a/.env.sample b/.env.sample index 951d39a..d546892 100644 --- a/.env.sample +++ b/.env.sample @@ -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 diff --git a/compose.yml b/compose.yml index 223515a..8497cdb 100644 --- a/compose.yml +++ b/compose.yml @@ -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}