docker下搭建owncloud

在ubuntu下 搭建owncloud

用docker-compose启动,owncloud.yml文件内容

owncloud:
  image: owncloud:9
  restart: always   开机启动
  links:
    - mysql:mysql   连接到mysql
  volumes:
    - /srv/docker/owncloud:/owncloud
  ports:
      - 10280:80
mysql:
  image: mysql:5.7
  restart: always
  environment:
    MYSQL_ROOT_PASSWORD: 21vianet

 

文章出处;

https://yq.aliyun.com/articles/67160

posted @ 2017-12-18 15:26  江湖一浪子  阅读(1873)  评论(0编辑  收藏  举报