fickit: re-added sysctl

This commit is contained in:
nemunaire 2019-01-17 09:11:13 +01:00
parent e5a9a2ecba
commit 47006d76fe
4 changed files with 31 additions and 5 deletions

View File

@ -0,0 +1,7 @@
net.ipv6.conf.all.disable_ipv6 = 1
# Increase system file descriptor limit
fs.file-max = 65535
# Increase system IP port limits
net.ipv4.ip_local_port_range = 2000 65000

View File

@ -0,0 +1,8 @@
net.ipv4.ip_forward = 1
net.ipv6.conf.all.disable_ipv6 = 1
# Increase system file descriptor limit
fs.file-max = 65535
# Increase system IP port limits
net.ipv4.ip_local_port_range = 2000 65000

View File

@ -15,9 +15,10 @@ onboot:
image: linuxkit/modprobe:v0.6
command: ["/bin/sh", "-c", "modprobe e1000e"]
# - name: sysctl
# image: linuxkit/sysctl:v0.6
# command: ["/usr/bin/sysctl", "-w", "net.ipv6.conf.all.disable_ipv6=1"]
- name: sysctl
image: linuxkit/sysctl:v0.6
binds:
- /etc/sysctl.d/01-fic.conf:/etc/sysctl.d/01-fic.conf:ro
# Filesystem
- name: swap
@ -242,6 +243,10 @@ services:
uts: new
files:
- path: etc/sysctl.d/01-fic.conf
source: configs/sysctl-backend.conf
mode: "0444"
- path: root/synchro.sh
source: configs/synchro.sh
mode: "0755"

View File

@ -15,8 +15,10 @@ onboot:
image: linuxkit/modprobe:v0.6
command: ["/bin/sh", "-c", "modprobe r8169;"]
# - name: sysctl
# image: linuxkit/sysctl:v0.6
- name: sysctl
image: linuxkit/sysctl:v0.6
binds:
- /etc/sysctl.d/01-fic.conf:/etc/sysctl.d/01-fic.conf:ro
# Filesystem
- name: swap
@ -204,6 +206,10 @@ services:
files:
- path: etc/sysctl.d/01-fic.conf
source: configs/sysctl-frontend.conf
mode: "0444"
- path: etc/nginx/ssl/dhparams-4096.pem
source: configs/dhparams-4096.pem
mode: "0444"