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