博客不准备更新了,迁移到 wiki.spanda.io

其他Confluence授权也挺便宜的,10人才$10


2018.6.3 算了,小鸡实在带不动 附上我的配置

version: "2.1"
services:
  wiki:
    image: spanda/confluence
    container_name: wiki
    environment:
      JVM_MINIMUM_MEMORY: 1024m
      JVM_MAXIMUM_MEMORY: 1024m
      CATALINA_CONNECTOR_PROXYNAME: wiki.spanda.io
      CATALINA_CONNECTOR_SCHEME: https
      CATALINA_CONNECTOR_PROXYPORT: 443
      CATALINA_CONNECTOR_SECURE: "true"
    volumes:
    - /root/data/wiki/volume:/var/atlassian/application-data/confluence
    network_mode: host
    restart: always
  mysql:
    image: percona:5.5
    container_name: mysql
    volumes:
    - /root/data/mysql/volume:/var/lib/mysql
    - /root/data/mysql/config:/etc/mysql/conf.d
    environment:
      MYSQL_ROOT_PASSWORD: ceotu6ok7eush0IPielee0thulah3ua4
      MYSQL_DATABASE: wiki
      MYSQL_USER: AhZ6oodu
      MYSQL_PASSWORD: veequ2wo5yaibieK8ahVeneeb2fahthi
    network_mode: host
    restart: always

mysql my.cnf配置

[client]
default-character-set = utf8
[mysql]
default-character-set = utf8
[mysqld]
character_set_server = utf8
collation-server = utf8_bin
default-storage-engine = INNODB
max_allowed_packet = 256M
transaction_isolation = READ-COMMITTED
innodb_log_file_size = 2GB
sql_mode = NO_AUTO_VALUE_ON_ZERO
binlog_format = row