Systemd init with /sbin/init, services for vpnagentd and entrypoint
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
This commit is contained in:
@@ -29,20 +29,8 @@
|
|||||||
"readOnly": true,
|
"readOnly": true,
|
||||||
"shared": false,
|
"shared": false,
|
||||||
"private": false
|
"private": false
|
||||||
},
|
|
||||||
{
|
|
||||||
"hostPath": "/sys/fs/cgroup",
|
|
||||||
"containerPath": "/sys/fs/cgroup",
|
|
||||||
"readOnly": false,
|
|
||||||
"shared": false,
|
|
||||||
"private": false
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tmpfsMounts": [
|
|
||||||
"/run",
|
|
||||||
"/run/lock"
|
|
||||||
],
|
|
||||||
"cgroupParent": "host",
|
|
||||||
"devices": [
|
"devices": [
|
||||||
"/dev/net/tun:/dev/net/tun"
|
"/dev/net/tun:/dev/net/tun"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -15,12 +15,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data:/data
|
- ${APP_DATA_DIR}/data:/data
|
||||||
- /etc/runtipi/repos/runtipi/apps/rego-tunnel-linux/source:/config:ro
|
- /etc/runtipi/repos/runtipi/apps/rego-tunnel-linux/source:/config:ro
|
||||||
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
|
||||||
tmpfs:
|
|
||||||
- /run
|
|
||||||
- /run/lock
|
|
||||||
cgroupns_mode: host
|
|
||||||
stop_signal: SIGRTMIN+3
|
|
||||||
labels:
|
labels:
|
||||||
generated: true
|
generated: true
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
|
|||||||
@@ -67,6 +67,9 @@ COPY cisco-vpnagentd.service /etc/systemd/system/cisco-vpnagentd.service
|
|||||||
RUN systemctl enable rego-vpn.service && \
|
RUN systemctl enable rego-vpn.service && \
|
||||||
systemctl enable cisco-vpnagentd.service
|
systemctl enable cisco-vpnagentd.service
|
||||||
|
|
||||||
|
# Create cgroup directory for systemd
|
||||||
|
RUN mkdir -p /sys/fs/cgroup
|
||||||
|
|
||||||
VOLUME [ "/sys/fs/cgroup" ]
|
VOLUME [ "/sys/fs/cgroup" ]
|
||||||
EXPOSE 8806
|
EXPOSE 8806
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user