Version 1

This commit is contained in:
2021-03-14 14:34:40 +01:00
parent 2e27d570dd
commit 4ea086fb00
17 changed files with 628 additions and 0 deletions

10
npm/config.json Normal file
View File

@@ -0,0 +1,10 @@
{
"database": {
"engine": "mysql",
"host": "db",
"name": "npm",
"user": "npm",
"password": "changeme",
"port": 3306
}
}

28
npm/docker-compose.yml Normal file
View File

@@ -0,0 +1,28 @@
version: "3"
services:
app:
image: jc21/nginx-proxy-manager:latest
restart: always
ports:
- 80:80
- 81:81
- 443:443
volumes:
- ./config.json:/app/config/production.json
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
environment:
# if you want pretty colors in your docker logs:
- FORCE_COLOR=1
db:
image: mariadb:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: "npm"
MYSQL_DATABASE: "npm"
MYSQL_USER: "npm"
MYSQL_PASSWORD: "changeme"
volumes:
- ./data/mysql:/var/lib/mysql