Last active
November 3, 2020 21:28
-
-
Save DennisLoska/c0aa0b7c86243244d3a3c969de32fa7e to your computer and use it in GitHub Desktop.
working combination - nginx proxy-manager config - nginxproxymanager.com for Raspberry Pi 4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"database": { | |
"engine": "mysql", | |
"host": "db", | |
"name": "npm", | |
"user": "npm", | |
"password": "npm", | |
"port": 3306 | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
app: | |
image: jc21/nginx-proxy-manager:2 | |
restart: always | |
ports: | |
# Public HTTP Port: | |
- '80:80' | |
# Public HTTPS Port: | |
- '443:443' | |
# Admin Web Port: | |
- '81:81' | |
environment: | |
# Uncomment this if IPv6 is not enabled on your host | |
DISABLE_IPV6: 'true' | |
volumes: | |
# Make sure this config.json file exists as per instructions above: | |
- ./config.json:/app/config/production.json | |
- ./data:/data | |
- ./letsencrypt:/etc/letsencrypt | |
depends_on: | |
- db | |
db: | |
image: webhippie/mariadb:latest | |
restart: always | |
environment: | |
MARIADB_ROOT_PASSWORD: 'passw0rd' | |
MARIADB_DATABASE: 'npm' | |
MARIADB_USERNAME: 'npm' | |
MARIADB_PASSWORD: 'npm' | |
volumes: | |
- ./data/mysql:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment