Created
November 10, 2020 19:10
-
-
Save DennisLoska/66d1a142107ae9a19baf1960c6b60935 to your computer and use it in GitHub Desktop.
Nginx Proxy Manager for RPI4
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: 'password' | |
MARIADB_DATABASE: 'proxydb' | |
MARIADB_USERNAME: 'npm' | |
MARIADB_PASSWORD: 'password' | |
volumes: | |
- ./data/mysql:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment