部署了 confluence, 整个局域网就断流了, 网管分析是这个机器上数据包太多导致. 关闭 docker 的 confluence 后正常了. 大家看看下面的脚本哪里导致的.
- version: ‘20220115’
- services:
- mysql:
- image: mysql/mysql-server:5.7
- container_name: mysql
- restart: always
- networks:
- confluencenet:
- ipv4_address: 192.168.78.2
- volumes:
- – /etc/localtime:/etc/localtime:ro
- – /home/zh0ngx1ngzhe-su/bin/confluence/backup/mysql:/var/lib/mysql
- environment:
- – MYSQL_RANDOM_ROOT_PASSWORD=yes
- – MYSQL_DATABASE=confluence
- – MYSQL_USER=test
- – MYSQL_PASSWORD=v2ex
- command: [mysqld, –character-set-server=utf8, –collation-server=utf8_bin, –default-storage-engine=INNODB, –max_allowed_packet=256M, –innodb_log_file_size=2GB, –transaction-isolation=READ-COMMITTED, –binlog_format=row]
-
- confluence:
- image: xzxiaoshan/confluence-agented:latest
- container_name: confluence
- restart: always
- networks:
- confluencenet:
- ipv4_address: 192.168.78.3
- volumes:
- – /etc/localtime:/etc/localtime:ro
- #- /home/zh0ngx1ngzhe-su/bin/confluence/backup/var/var:/var
- – /home/zh0ngx1ngzhe-su/bin/confluence/backup/opt/atlassian/confluence:/opt/atlassian/confluence
- – /home/zh0ngx1ngzhe-su/bin/confluence/backup/var/atlassian/confluence:/var/atlassian/confluence
- #- /home/zh0ngx1ngzhe-su/bin/confluence/server.xml:/opt/atlassian/confluence/conf/server.xml
-
- ports:
- – 8090:8090
- – 8091:8091
-
-
-
-
-
-
- networks:
- confluencenet:
- driver: bridge
- ipam:
- driver: default
- config:
- – subnet: 192.168.78.0/24
复制代码
|