From 256ad0454a54c22eaf576454db55438d6dcaa048 Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 2 Oct 2023 13:51:59 -0500 Subject: [PATCH] Remove VIRTUAL_PATH and use additional compose file --- docker-compose.yml | 11 +---------- portainer_deploy.template.json | 8 +++----- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 741eeee..2112a12 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,13 +8,4 @@ services: - 8080 environment: - VIRTUAL_PORT=8080 - - VIRTUAL_HOST=${HOST} - - VIRTUAL_PATH=/${ECHO_PATH}/ - - VIRTUAL_DEST=/ - networks: - - cicd - -networks: - cicd: - driver: bridge - external: true \ No newline at end of file + - VIRTUAL_HOST=${HOST} \ No newline at end of file diff --git a/portainer_deploy.template.json b/portainer_deploy.template.json index c327115..5630c19 100644 --- a/portainer_deploy.template.json +++ b/portainer_deploy.template.json @@ -1,5 +1,7 @@ { - "additionalFiles": [], + "additionalFiles": [ + "portainer_deploy.docker-compose.yml" + ], "autoUpdate": { "forcePullImage": false, "forceUpdate": false, @@ -12,10 +14,6 @@ { "name": "HOST", "value": "dvdemo.privatedns.org" - }, - { - "name": "ECHO_PATH", - "value": "deployed_echo" } ], "fromAppTemplate": false,