Use publish instead of expose.

This commit is contained in:
yohan 2024-06-15 22:29:28 +02:00
parent 4737af16fd
commit 8dd6c446c1

View File

@ -62,9 +62,8 @@
device: /dev/net/tun
network:
- host
expose: 1194/udp
#ports:
# - 1194:1194/udp
ports:
- 1194:1194/udp
volume:
- /mnt/volumes/openvpn-server_conf:/etc/openvpn/server:Z
generate_systemd: