mirror of
https://github.com/dustinbrun/docker-compose-homeserver.git
synced 2025-09-07 17:27:30 +02:00
Version 1
This commit is contained in:
10
npm/config.json
Normal file
10
npm/config.json
Normal 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
28
npm/docker-compose.yml
Normal 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
|
Reference in New Issue
Block a user