Merge pull request #843 from mrgnw/patch-1

Link to the DockerEnv file
This commit is contained in:
Kristian Haugene
2019-10-13 22:46:22 +02:00
committed by GitHub

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
``` ```