nginx proxy manager named volume update

This commit is contained in:
Christian 2022-03-04 13:45:48 +01:00
parent 6943697e7e
commit c7c52d4332
4 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,3 @@
---
version: '3'
volumes:

View File

@ -1,4 +1,3 @@
---
version: '3'
volumes:

View File

@ -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
- nginxproxymanager-db:/var/lib/mysql