528 B
528 B
首先检查docker-compose的安装情况
docker-compose -v
在文件夹下编写docker-compose.yml
文件
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
启动docker-compose
docker-compose up -d
检查运行情况
docker ps
docker-compose ps
admin@example.com
changeme