Skip to content

Commit 14f28e8

Browse files
authored
Add slirp4netns network to allow access to host (#25)
NethServer/dev#7649
1 parent 4893f9c commit 14f28e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

imageroot/systemd/user/wordpress.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ TimeoutStopSec=70
2121
ExecStartPre=/bin/rm -f %t/wordpress.pid %t/wordpress.pod-id
2222
ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/wordpress.pid \
2323
--pod-id-file %t/wordpress.pod-id \
24+
--network slirp4netns:allow_host_loopback=true \
2425
--name wordpress \
2526
--publish 127.0.0.1:${TCP_PORT}:80 \
2627
--replace

0 commit comments

Comments
 (0)