依赖环境:

1、docker

2、docker-compose

 

docker-compose.yml文件


version: "3.3"

services:
  zentao:
    image: idoop/zentao:12.5.3
    container_name: zentao
    restart: always
    environment:
      ADMINER_USER: "root"
      ADMINER_PASSWD: "root"
      BIND_ADDRESS: "false"
    ports:
      - 1200:80
      - 1201:3306
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./zbox/:/opt/zbox/
      - ./mysql:/var/lib/mysql

启动:

docker-compose up -d

启动后,访问:ip:1200

 

 

 

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐