禅道3.8安装Docker-compose安装


version: '3.2'
services:
  zentao:
    image: hub.zentao.net/app/zentao:18.5
    # build: ./
    container_name: zentao
    environment:
       MYSQL_INTERNAL: 'false'
       MYSQL_HOST: 127.0.0.1
       ZT_MYSQL_PORT: 3306
       ZT_MYSQL_USER: root
       ZT_MYSQL_PASSWORD: 12315615
       ZT_MYSQL_DB: zentao
    # restart: always
    ports:
      - 8088:80
    volumes:
      - /home/zentao/data/:/data #
    networks:
      - network-zentao
networks:
  network-zentao:
    driver: bridge
 

你可能感兴趣的:(docker,容器,运维)