mkdir -p /docker_projects/nginx_proxy_manager_1
cd /docker_projects/nginx_proxy_manager_1
vim docker-compose.yml
version: "3"
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80' # Public HTTP Port
- '443:443' # Public HTTPS Port
- '81:81' # Admin Web Port
environment:
TZ: "Asia/Seoul"
DB_MYSQL_HOST: "172.17.0.1"
DB_MYSQL_PORT: 3306
DB_MYSQL_USER: "lldjlocal"
DB_MYSQL_PASSWORD: "1234"
DB_MYSQL_NAME: "nginx"
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
docker compose up
π docker μμ db μ€ννκΈ°
CREATE DATABASE nginx;
-d
λ λ°λͺ¬λͺ¨λλ‘ μ€νμ λ»νλ€.docker compose up -d
docker compose down
192.168.64.2:81
admin@example.com
changeme