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 device: /dev/net/tun
network: network:
- host - host
expose: 1194/udp ports:
#ports: - 1194:1194/udp
# - 1194:1194/udp
volume: volume:
- /mnt/volumes/openvpn-server_conf:/etc/openvpn/server:Z - /mnt/volumes/openvpn-server_conf:/etc/openvpn/server:Z
generate_systemd: generate_systemd: