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:57] alexk7110nginxproxy [2021/08/28 10:37] (current) – [docker-compose.yml] alexk7110
Line 7: Line 7:
  
 You can always setup wireguard on the server and be done with it but the above solution is way faster for some initial setups. 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.1629896261.txt.gz · Last modified: 2021/08/25 15:57 by alexk7110