fickit: Disable dhcp/dns services
This commit is contained in:
parent
9367d99a05
commit
86e15bd80b
|
@ -204,29 +204,36 @@ services:
|
|||
- /var/lib/fic/submissions
|
||||
- /var/lib/fic/teams
|
||||
|
||||
- name: dhcp-server
|
||||
image: joebiellik/dhcpd
|
||||
binds:
|
||||
- /etc/dhcp/dhcpd.conf:/etc/dhcp/dhcpd.conf:ro
|
||||
capabilities:
|
||||
- CAP_NET_BIND_SERVICE
|
||||
- CAP_NET_RAW
|
||||
- CAP_DAC_OVERRIDE
|
||||
net: /run/netns/nginx
|
||||
pid: new
|
||||
ipc: new
|
||||
uts: new
|
||||
- name: dns-server
|
||||
image: nemunaire/unbound:a7c841a408e5e3cc27b920cd70c806093f04687c
|
||||
binds:
|
||||
- /etc/unbound/unbound.d:/etc/unbound/unbound.d:ro
|
||||
net: /run/netns/nginx
|
||||
# - name: dhcp-server
|
||||
# image: joebiellik/dhcpd
|
||||
# binds:
|
||||
# - /etc/dhcp/dhcpd.conf:/etc/dhcp/dhcpd.conf:ro
|
||||
# capabilities:
|
||||
# - CAP_NET_BIND_SERVICE
|
||||
# - CAP_NET_RAW
|
||||
# - CAP_DAC_OVERRIDE
|
||||
# net: /run/netns/nginx
|
||||
# pid: new
|
||||
# ipc: new
|
||||
# uts: new
|
||||
# - name: dns-server
|
||||
# image: nemunaire/unbound:a7c841a408e5e3cc27b920cd70c806093f04687c
|
||||
# binds:
|
||||
# - /etc/unbound/unbound.d:/etc/unbound/unbound.d:ro
|
||||
# net: /run/netns/nginx
|
||||
|
||||
|
||||
files:
|
||||
- path: etc/init.d/015-setup-sshd
|
||||
source: configs/sshd-setup.sh
|
||||
mode: "0555"
|
||||
- path: etc/init.d/016-copy-dex-config
|
||||
contents: |
|
||||
#!/bin/sh
|
||||
[ -f /var/lib/fic/dex-config.yaml ] || {
|
||||
cp /etc/dex/config.auth.yaml /var/lib/fic/dex-config.yaml
|
||||
}
|
||||
mode: "0555"
|
||||
|
||||
- path: /containers/onboot/000-sysctl/rootfs/etc/sysctl.d/01-fic.conf
|
||||
source: configs/sysctl-frontend.conf
|
||||
|
|
Loading…
Reference in New Issue