fickit: allow maximal number of connections to MySQL

This commit is contained in:
nemunaire 2019-01-17 08:37:05 +01:00
parent 9466b1d7e6
commit ff5bd63eb0
1 changed files with 6 additions and 0 deletions

View File

@ -124,6 +124,7 @@ services:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
binds:
- /etc/hosts:/etc/hosts:ro
- /etc/mysql/conf.d:/etc/mysql/conf.d:ro
- /var/lib/fic/mysql:/var/lib/mysql
net: /run/netns/db
pid: new
@ -242,6 +243,11 @@ files:
source: configs/id_ed25519
mode: "0400"
- path: etc/mysql/conf.d/max-conn.cnf
contents: |
[mysqld]
max_connections = 99999
mode: "0444"
- path: etc/iptables/rules.v6
contents: |
*filter