搭建Docker compose管理面板dockge,通过管理面板可以一键搭建docker compose,轻松管理多个docker主机, Docker Compose UI

1、开源项目地址:【点击进入

2、更新系统

apt update && apt upgrade

3、安装Docker

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

4、搭建Docker compose管理面板

  • 创建Dockge存储目录
mkdir -p /opt/stacks /opt/dockge
  • 进入目录
cd /opt/dockge
  • 下载compose配置文件
curl https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml --output compose.yaml
  • 启动服务
docker compose up -d

5、测试

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
version: "3.8"

services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin
    container_name: media-jellyfin
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Asia/Shanghai
      - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
    volumes:
      - /share/apps/jellyfin:/config
      - /share/apps/jellyfin/scripts:/custom-cont-init.d
    network_mode: bridge
    ports:
      - 8096:8096
      - 8920:8920
    devices:
      - /dev/dri:/dev/dri #optional
    restart: always

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注