Update default run command to restrict log size #257
This commit is contained in:
@@ -21,6 +21,8 @@ $ docker run --cap-add=NET_ADMIN --device=/dev/net/tun -d \
|
|||||||
-e "OPENVPN_CONFIG=Netherlands" \
|
-e "OPENVPN_CONFIG=Netherlands" \
|
||||||
-e "OPENVPN_USERNAME=user" \
|
-e "OPENVPN_USERNAME=user" \
|
||||||
-e "OPENVPN_PASSWORD=pass" \
|
-e "OPENVPN_PASSWORD=pass" \
|
||||||
|
--log-driver json-file \
|
||||||
|
--log-opt max-size=10m \
|
||||||
-p 9091:9091 \
|
-p 9091:9091 \
|
||||||
haugene/transmission-openvpn
|
haugene/transmission-openvpn
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user