Use publish instead of expose.
This commit is contained in:
parent
4737af16fd
commit
8dd6c446c1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user