hlcX's Blog
my note!
Toggle navigation
hlcX's Blog
2.学习
4.群晖
5.CentOS7
6.rasperryPI
linux-mint
关于
归档
标签
用docker-compose.yml方式安装docker镜像
docker-compose
docker
seafile
onlyoffice
2019-10-21 14:18:42
60
0
0
hlcx
docker-compose
docker
seafile
onlyoffice
# docker-compose.yml ``` version: '2.0' services: db: image: mariadb:10.1 container_name: seafile-mysql environment: - MYSQL_ROOT_PASSWORD=sl2w71201 # Requested, set the root's password of MySQL service. - MYSQL_LOG_CONSOLE=true volumes: - /opt/seafile-mysql:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store. networks: - seafile-net memcached: image: memcached:1.5.6 container_name: seafile-memcached entrypoint: memcached -m 256 networks: - seafile-net elasticsearch: image: seafileltd/elasticsearch-with-ik:5.6.16 container_name: seafile-elasticsearch environment: - discovery.type=single-node - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms1g -Xmx1g" ulimits: memlock: soft: -1 hard: -1 mem_limit: 2g volumes: - /opt/seafile-elasticsearch:/usr/share/elasticsearch/data # Requested, specifies the path to Elasticsearch data persistent store. networks: - seafile-net onlyoffice: image: onlyoffice/documentserver:latest container_name: onlyoffice ports: - "8888:80" - "28443:443" volumes: - /opt/onlyoffice/ssl:/var/www/onlyoffice/Data environment: - FORCE_SSL=true - CERT_FOLDER=/certs/ # - ONLYOFFICE_HTTPS_HSTS_ENABLED=true # - ONLYOFFICE_HTTPS_HSTS_MAXAGE=31536000 # - SSL_VERIFY_CLIENT=true networks: - seafile-net seafile: # image: seafileltd/seafile-docs:latest # image: seafileltd/seafile-mc:latest image: docker.seafile.top/seafileltd/seafile-pro-mc:latest container_name: seafile ports: - "80:80" - "443:443" # If https is enabled, cancel the comment. volumes: - /opt/seafile:/shared # Requested, specifies the path to Seafile data persistent store. - /opt/seafile/nginx:/etc/nginx/sites-enabled #vic modi by 20191003 environment: - DB_HOST=db - DB_ROOT_PASSWD=sl2w71201 # Requested, the value shuold be root's password of MySQL service. - TIME_ZONE=Asia/Shanghai # Optional, default is UTC. Should be uncomment and set to your local time zone. - SEAFILE_ADMIN_EMAIL=admin@13ua.com # Specifies Seafile admin user, default is 'me@example.com' - SEAFILE_ADMIN_PASSWORD=sl2w71201 # Specifies Seafile admin password, default is 'asecret' - SEAFILE_SERVER_LETSENCRYPT=true # Whether to use https or not - SEAFILE_SERVER_HOSTNAME=13ua.com # Specifies your host name if https is enabled depends_on: - db - memcached - elasticsearch - onlyoffice networks: - seafile-net networks: seafile-net: ```
上一篇:
ISCSI MANEGER使用
下一篇:
用docker-compose.xml安装的,域名访问可以看到登录页,但是登录后出现403 Forbidden
0
赞
60 人读过
新浪微博
微信
腾讯微博
QQ空间
人人网
提交评论
立即登录
, 发表评论.
没有帐号?
立即注册
0
条评论
More...
文档导航
没有帐号? 立即注册