Homelab Troubleshooting

Tips on running a Linux server and docker.

User Tools

Site Tools


nginxproxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nginxproxy [2021/08/25 15:51] alexk7110nginxproxy [2021/08/28 10:37] (current) – [docker-compose.yml] alexk7110
Line 1: Line 1:
 ====== nginx Proxy Manager Troubleshooting ====== ====== nginx Proxy Manager Troubleshooting ======
  
-Since the admin panel for this app is coming out of port 81 on of the ways you can connect to it is by ssh port forwarding.+Since the **admin panel** for this app is coming out of **port 81** one of the ways you can connect to it is by ssh port forwarding.
  
 From your local pc you open a terminal and write the following accordingly:\\ From your local pc you open a terminal and write the following accordingly:\\
 ssh -L 8081:yourhostip:81 user@host ssh -L 8081:yourhostip:81 user@host
 +
 +You can always setup wireguard on the server and be done with it but the above solution is way faster for some initial setups.
 +
 +===== Default credentials =====
 +Default Admin User:
 +
 +Email:    ''admin@example.com''
 +
 +Password: ''changeme''
 +----
 +===== docker-compose.yml =====
 +<code yaml docker-compose.yml>
 +---
 +services:
 +  app:
 +    image: 'jc21/nginx-proxy-manager:latest'
 +    restart: unless-stopped
 +    ports:
 +      - '80:80'
 +      - '81:81'
 +      - '443:443'
 +    environment:
 +      DB_MYSQL_HOST: "db"
 +      DB_MYSQL_PORT: 3306
 +      DB_MYSQL_USER: "**your_user**"
 +      DB_MYSQL_PASSWORD: "**your_db_password**"
 +      DB_MYSQL_NAME: "nginxproxy"
 +    volumes:
 +      - ./data:/data
 +      - ./letsencrypt:/etc/letsencrypt
 +  db:
 +    image: 'jc21/mariadb-aria:latest'
 +    restart: unless-stopped
 +    environment:
 +      MYSQL_ROOT_PASSWORD: '**your_mysql_root_password**'
 +      MYSQL_DATABASE: 'nginxproxy'
 +      MYSQL_USER: '**your_user**'
 +      MYSQL_PASSWORD: '**your_db_password**'
 +    volumes:
 +      - ./data/mysql:/var/lib/mysql
 +</code>
nginxproxy.1629895897.txt.gz · Last modified: 2021/08/25 15:51 by alexk7110