fickit: allow maximal number of connections to MySQL
This commit is contained in:
parent
9466b1d7e6
commit
ff5bd63eb0
1 changed files with 6 additions and 0 deletions
|
|
@ -124,6 +124,7 @@ services:
|
||||||
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||||
binds:
|
binds:
|
||||||
- /etc/hosts:/etc/hosts:ro
|
- /etc/hosts:/etc/hosts:ro
|
||||||
|
- /etc/mysql/conf.d:/etc/mysql/conf.d:ro
|
||||||
- /var/lib/fic/mysql:/var/lib/mysql
|
- /var/lib/fic/mysql:/var/lib/mysql
|
||||||
net: /run/netns/db
|
net: /run/netns/db
|
||||||
pid: new
|
pid: new
|
||||||
|
|
@ -242,6 +243,11 @@ files:
|
||||||
source: configs/id_ed25519
|
source: configs/id_ed25519
|
||||||
mode: "0400"
|
mode: "0400"
|
||||||
|
|
||||||
|
- path: etc/mysql/conf.d/max-conn.cnf
|
||||||
|
contents: |
|
||||||
|
[mysqld]
|
||||||
|
max_connections = 99999
|
||||||
|
mode: "0444"
|
||||||
- path: etc/iptables/rules.v6
|
- path: etc/iptables/rules.v6
|
||||||
contents: |
|
contents: |
|
||||||
*filter
|
*filter
|
||||||
|
|
|
||||||
Reference in a new issue