From c7c52d433239c2fc0a873a025ad65fc7f2bb2fcd Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 4 Mar 2022 13:45:48 +0100 Subject: [PATCH] nginx proxy manager named volume update --- docker-compose/nextcloud/nextcloud-npm.yaml | 1 - docker-compose/nextcloud/nextcloud.yaml | 1 - .../{docker-compose.yml => docker-compose.yaml} | 16 +++++++++++----- .../pihole/{pihole.yaml => docker-compose.yaml} | 0 4 files changed, 11 insertions(+), 7 deletions(-) rename docker-compose/nginxproxymanager/{docker-compose.yml => docker-compose.yaml} (64%) rename docker-compose/pihole/{pihole.yaml => docker-compose.yaml} (100%) diff --git a/docker-compose/nextcloud/nextcloud-npm.yaml b/docker-compose/nextcloud/nextcloud-npm.yaml index a33c8b1..cd63791 100644 --- a/docker-compose/nextcloud/nextcloud-npm.yaml +++ b/docker-compose/nextcloud/nextcloud-npm.yaml @@ -1,4 +1,3 @@ ---- version: '3' volumes: diff --git a/docker-compose/nextcloud/nextcloud.yaml b/docker-compose/nextcloud/nextcloud.yaml index 284f9f7..c65b3b3 100644 --- a/docker-compose/nextcloud/nextcloud.yaml +++ b/docker-compose/nextcloud/nextcloud.yaml @@ -1,4 +1,3 @@ ---- version: '3' volumes: diff --git a/docker-compose/nginxproxymanager/docker-compose.yml b/docker-compose/nginxproxymanager/docker-compose.yaml similarity index 64% rename from docker-compose/nginxproxymanager/docker-compose.yml rename to docker-compose/nginxproxymanager/docker-compose.yaml index 9017ab5..af28b44 100644 --- a/docker-compose/nginxproxymanager/docker-compose.yml +++ b/docker-compose/nginxproxymanager/docker-compose.yaml @@ -1,6 +1,12 @@ version: '3' + +volumes: + nginxproxymanager-data: + nginxproxymanager-ssl: + nginxproxymanager-db: + services: - app: + nginxproxymanager: image: 'jc21/nginx-proxy-manager:latest' ports: - '80:80' @@ -13,9 +19,9 @@ services: DB_MYSQL_PASSWORD: "npm" DB_MYSQL_NAME: "npm" volumes: - - ./data:/data - - ./letsencrypt:/etc/letsencrypt - db: + - nginxproxymanager-data:/data + - nginxproxymanager-ssl:/etc/letsencrypt + nginxproxymanager-db: image: 'jc21/mariadb-aria:latest' environment: MYSQL_ROOT_PASSWORD: 'npm' @@ -23,4 +29,4 @@ services: MYSQL_USER: 'npm' MYSQL_PASSWORD: 'npm' volumes: - - ./data/mysql:/var/lib/mysql \ No newline at end of file + - nginxproxymanager-db:/var/lib/mysql \ No newline at end of file diff --git a/docker-compose/pihole/pihole.yaml b/docker-compose/pihole/docker-compose.yaml similarity index 100% rename from docker-compose/pihole/pihole.yaml rename to docker-compose/pihole/docker-compose.yaml