Link example DockerEnv file

This commit is contained in:
Morgan
2019-06-26 17:55:12 -04:00
committed by GitHub
parent 88cb95de16
commit ddca5a3fb2

View File

@@ -1,5 +1,5 @@
Another way is to use a docker env file where you can easily store all your env variables and maintain multiple configurations for different providers. Another way is to use a docker env file where you can easily store all your env variables and maintain multiple configurations for different providers.
In the GitHub repository there is a provided DockerEnv file with all the current transmission and openvpn environment variables. You can use this to create local configurations In the GitHub repository there is a provided [DockerEnv](https://github.com/haugene/docker-transmission-openvpn/blob/master/DockerEnv) file with all the current transmission and openvpn environment variables. You can use this to create local configurations
by filling in the details and removing the # of the ones you want to use. by filling in the details and removing the # of the ones you want to use.
Please note that if you pass in env. variables on the command line these will override the ones in the env file. Please note that if you pass in env. variables on the command line these will override the ones in the env file.
@@ -13,4 +13,4 @@ $ docker run --cap-add=NET_ADMIN --device=/dev/net/tun -d \
--env-file /your/docker/env/file \ --env-file /your/docker/env/file \
-p 9091:9091 \ -p 9091:9091 \
haugene/transmission-openvpn haugene/transmission-openvpn
``` ```