mirror of
https://github.com/ilteoood/docker-surfshark.git
synced 2025-12-21 13:23:02 +01:00
web gui transmission example
This commit is contained in:
14
README.md
14
README.md
@@ -38,6 +38,7 @@ The container is configurable using 4 environment variables:
|
|||||||
## Execution
|
## Execution
|
||||||
|
|
||||||
You can run this image using [Docker compose](https://docs.docker.com/compose/) and the [sample file](./docker-compose.yml) provided.
|
You can run this image using [Docker compose](https://docs.docker.com/compose/) and the [sample file](./docker-compose.yml) provided.
|
||||||
|
** Remember: if you want to use the web gui of a container, you must open its ports on `docker-surfshark` as described below. **
|
||||||
|
|
||||||
```
|
```
|
||||||
version: "2"
|
version: "2"
|
||||||
@@ -56,6 +57,8 @@ services:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
devices:
|
devices:
|
||||||
- /dev/net/tun
|
- /dev/net/tun
|
||||||
|
ports:
|
||||||
|
- 9091:9091 #we open here the port for transmission, as this container will be the access point for the others
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
@@ -67,6 +70,17 @@ services:
|
|||||||
- surfshark
|
- surfshark
|
||||||
network_mode: service:surfshark
|
network_mode: service:surfshark
|
||||||
restart: always
|
restart: always
|
||||||
|
transmission:
|
||||||
|
image: linuxserver/transmission
|
||||||
|
container_name: transmission
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/Rome
|
||||||
|
#ports:
|
||||||
|
#- 9091:9091 needed to access transmission's GUI
|
||||||
|
network_mode: service:surfshark
|
||||||
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
Or you can use the standard `docker run` command.
|
Or you can use the standard `docker run` command.
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ services:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
devices:
|
devices:
|
||||||
- /dev/net/tun
|
- /dev/net/tun
|
||||||
|
ports:
|
||||||
|
- 9091:9091 #we open here the port for transmission, as this container will be the access point for the others
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
@@ -24,4 +26,15 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- surfshark
|
- surfshark
|
||||||
network_mode: service:surfshark
|
network_mode: service:surfshark
|
||||||
restart: always
|
restart: always
|
||||||
|
transmission:
|
||||||
|
image: linuxserver/transmission
|
||||||
|
container_name: transmission
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/Rome
|
||||||
|
#ports:
|
||||||
|
#- 9091:9091 needed to access transmission's GUI
|
||||||
|
network_mode: service:surfshark
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user