From c13b12ebe42c34049df8cbeda091abffc61b5ea0 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 19 Sep 2023 12:10:53 +0200 Subject: [PATCH] feat: a volume --- compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compose.yml b/compose.yml index f56d052..d3fd032 100644 --- a/compose.yml +++ b/compose.yml @@ -6,6 +6,8 @@ services: image: nginx:1.20.0 networks: - proxy + volumes: + - test-volume:/var/www secrets: - test_password deploy: @@ -35,6 +37,9 @@ secrets: external: true name: ${STACK_NAME}_test_password_${SECRET_TEST_PASSWORD_VERSION} +volumes: + test-volume: + networks: proxy: external: true